Managing Master Data with webMethods OneData 10.5 | Managing Master Data with webMethods OneData | Implementing webMethods OneData | Data Validation in OneData | Using Regular Expressions for Data Validation and Transformation | Setting a Regular Expression
Setting a Regular Expression
You can provide a regular expression for an existing column. Validation expression must begin and end with a forward slash (/). The following tables lists some examples of validation regular expressions:
Condition for Data Validation
Validation Expression
It must have at least 1 digit.
It must be exactly 6 characters long.
It must follow the SS# format.
It must begin with an uppercase.
It must be numeric, in the format xxx-xxx-xxxx
* To set a regular expression
1. On the Menu toolbar, click Define > Objects and navigate to the required object.
2. Click the Structure tab.
3. Click the Edit icon of the column of which you want to validate data.
4. In Validation Regular Expression, enter the regular expression for validation.
5. In Regular Expression Error Message, enter the message to display when there is a violation error.
6. Click Save.

Copyright © 2011-2019 | 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.