# escapeRegExp Escapes the RegExp special characters in string. ## Example ```js escapeRegExp('[opentf](https://opentf.org/)') //=> '\\[opentf\\]\\(https://opentf\\.org/\\)' ```