PP.String.escapeRegExp(text: String);
text. Text to escape.
The escapeRegExp static method escapes special characters to use the string in a regular expression.
This method returns a String-type value.
The example of use is given in the with description of the String.escapeHTML method.
See also: