Ruby | Regexp escape() function
Regexp#escape() : escape() is a Regexp class method which returns a new string by escaping any characters that would have special meaning in a regular expression. Syntax: Regexp.escape() Parameter: Regexp values Return: a new string by escaping any characters that would have special meaning in a reg