Regex

Regular Expressions

SecureCloud uses regular expressions based on the Java 8.0 pattern class. The regular expression can include explicit characters, predefined character classes, and custom character classes you define. See java-regex-tester.html for a useful tool that will test regular expressions.

The following is a small sampling of some useful regular expression constructs:

x The character x
. Any character
[abc] a, b, or c (simple class)
[^abc] Any character except a, b, or c (negation)
[a-zA-Z] through z or A through Z, inclusive (range)