node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

escape-regexp

escape-regexp

Escape regular expression special characters.

Example

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

License

MIT