escape-regexp

Escape regular expression special characters

npm install escape-regexp
482 downloads in the last day
3 149 downloads in the last week
14 726 downloads in the last month

escape-regexp

Escape regular expression special characters.

Example

var escape = require('escape-regexp');
escape(str);

License

MIT

npm loves you