node package manager
Stop writing boring code. Discover, share, and reuse within 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