Supported Regular Expressions

When searching for text you can use the regular expressions as defined by the Pattern class.
Additionally, \R can be used to match any form of line delimiter (Unix, Windows, Mac OS 9). Note that \R does not work in character groups ([]).

The replace string allows the following constructs:

$i inserts capturing group i.
\i inserts capturing group i (same as $i).
\x quotes character x (unless \x has a special meaning)
\R inserts the default line delimiter of the document
\xhh inserts the hexadecimal character hh
\uhhhh inserts the Unicode character hhhh
\n inserts a newline character (usually, you should use \R instead)
\r inserts a carriage-return character (usually, you should use \R instead)
\t inserts a tab character
\f inserts a form-feed character
\a inserts an alert (beep) character
\e inserts an escape character
\cC inserts a the control character for C
\C retains the casing of the match (all lower case, all upper case, capitalized)