escape-regexp-component

Escape regular expression special characters

npm install escape-regexp-component
256 downloads in the last day
4 604 downloads in the last week
20 519 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