REEscape

Escapes regular expression control characters within a string.

REEscape(string); → returns String

Argument Reference for the REEscape function

string

Required: Yes
The string you that to escape.

Examples sample code invoking the REEscape function


Example of REEscape

REEscape('*.{}[]exam?ple')

Expected Result: \*\.\{\}\[\]exam\?ple


Fork me on GitHub