RegexEscape Function

The RegexEscape() function takes one (1) argument as string and uses regex to escape the given string.

The syntax for RegexEscape function is RegexEscape( String ).

/* Following will output Hello\ this\ is\ string! */ 
SELECT RegexEscape('Hello this is string!') ;