Page tree

 

Support | BlogContact Us | 844.332.2821

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r0411

...

Supported Special RegEx Characters

The table below identifies the special characters that are supported in the platform.

Special CharactersDescription
\\String literal match for \ character.

\b

Matches any zero-width word boundary, such as between a letter and a space.

Example: /\bre/ does not match re in tire , since re is not on the word boundary. /re\b/ does match.  

\B

Matches any zero-width non-word boundary, such as between two letters or two spaces.

Example: /\Bre/ matches re in tire. It does not match in respect, since that instance of re is on a word boundary.

\cX Matches a control character (CTRL + A-Z), where X is the corresponding letter in the alphabet.
\dMatches any digit.
\DMatches any non-digit.
\fMatches a form feed.
\n

Matches a line feed.

Info

NOTE: These characters are not supported in inputs for Object and Array data types.

\rMatches a carriage return.
\s

Matches any whitespace character. These characters include:

  • space
  • tab
  • form feed
  • line feed
  • Other Unicode space characters
\SMatches any character that is not one of the supported whitespace characters.
\t

Matches a horizontal tab.

Info

NOTE: These characters are not supported in inputs for Object and Array data types.

\v

Matches a vertical tab.

\w

Matches any alphanumeric value, including the underscore.

Tip

Tip: Column names must match the same set of characters.

\WMatches any non-alphanumeric character, including the underscore.
\xHH Matches the ASCII character code as expressed by the hexadecimal value HH.
\uHHHHMatches the Unicode character code as expressed by the hexadecimal value HHHH .

 

Required Escaped Characters

The following characters have special meaning within a regular expression.

Code Block
. ^ $ * + - ? ( ) [ ] { } \ | — /

To reference the literal character, you must escape it within the regular expression, as in:

Code Block
/\./