JSLiblodash_.escapeRegExp(string)On this page_.escapeRegExp(string) ↔ return string with escaped characters for reserved RegExp special characters (& $ . * + ? ( ) [``] { } |)References