Escapes regex characters in the given string for safely creating a regex string.
The string to escape.
Escapes regex characters in the given string for safely creating a regex string.