Regular expressions

Regular expressions are operators that customize a search string. The product recognizes these regular expressions:

Regular expressions is useful in Find Text and Replace Text dialogs.

Operator Meaning
. match any character

Note: this operator normally does not match separators, but a flag is
// available that will allow this operator to match a separator

* match zero or more of the last sub expression
+ match one or more of the last sub expression
? match zero or one of the last sub expression
() sub expression grouping
{m, n} match at least m occurrences and up to n occurrences
{m} match exactly m occurrences

Note: in case {m, n} operator both values can be 0 (zero) or omitted which denotes an 
unlimited bound {,} and {0,} and {0, 0} corresponds to * {, 1} and {0, 1} corresponds 
to ? {1,} and {1, 0} corresponds to +

Literals
c literal UCS2 character
\x.... hexadecimal number of up to 4 digits
\X.... hexadecimal number of up to 4 digits
\u.... number of up to 4 digits
\U.... number of up to 4 digits
\d any decimal digit
\D any character that is not a decimal digit
\s any white space character
\S any character that is not a white space character
\w any "word" character
\W any "non-word" character
Character classes
[...] denotes a character class
[^...] denotes a negated character class
\pN0,N1,..., Nn Character properties class
\PN0,N1,..., Nn Negated character properties class

Note: character property classes are \p or \P (the latter denotes a negated property class) 
followed by a comma separated list of integers starting with 0.

:alnum:
:alpha:
:cntrl:
:digit:
:graph:
:lower:
:print:
:punct:
:space:
:upper:
:xdigit:
POSIX character classes.

Character classes can contain literals, POSIX classes and/or character property classes. 
POSIX classes are delimited by :POSIX: 

Note: upper, lower and title case classes need to have case sensitive search enabled 
to match correctly.

See also:  Find text dialog Replace text dialog Character properties class numbers