Hybrid Integration 10.1 | Integrating On-Premises Applications | Document Conventions | Regular Expressions | Using a Regular Expression in a Mask
 
Using a Regular Expression in a Mask
When you use a regular expression as a mask, you use parentheses to specify which characters you want to collect. For example, the object reference:
doc.p[].text[/(.{30}).*/]
retains the first 30 characters in each matching element and discards the rest.

Copyright © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.