escape-regexp-component

Escape regular expression special characters

npm install escape-regexp-component
805 downloads in the last day
5 315 downloads in the last week
22 701 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