escape-regexp-component

Escape regular expression special characters

npm install escape-regexp-component
947 downloads in the last day
4 863 downloads in the last week
21 609 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