8.2.1.4.6   RegularExpression

The RegularExpression condition makes it possible to write a regular expression to be matched with a field holding a String value, see Figure 134.

Figure 134   RegularExpression Condition

A regular expression is a string that is used to describe or match a set of strings, according to the syntax rules built into the Java Syntax, described in the Pattern class in the Java API, see .http://docs.oracle.com/javase/8/docs/api/.

Text: The syntax for a match for a field String. If the syntax is not valid, the text area is red indicating an invalid syntax, see Example 2 and Example 3.

Example 2   Syntax for a Match for a Field String

 ^[a A].* 

Will be evaluated as true for a String that begins with a lower or capital case 'a'.

Example 3   Syntax for a Match for a Field String

.*[a A]$ 

Will be evaluated to true for a String that ends with a lower or capital case 'a'.