SyntaxFix
Write A Post
Hire A Developer
Questions
escapeRegExp = function(str) { if (str == null) return ''; return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); };