Escape RegExp special characters in input.
input
escapeRegExp('a.b*c'); // 'a\\.b\\*c' Copy
escapeRegExp('a.b*c'); // 'a\\.b\\*c'
Escape RegExp special characters in
input.