node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

escape-regexp-component

escape-regexp

Escape regular expression special characters.

Example

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

License

MIT