escape-regexp
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/escape-regexp package

0.0.1 • Public • Published

escape-regexp

Escape regular expression special characters.

Example

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i escape-regexp

Weekly Downloads

103,366

Version

0.0.1

License

none

Last publish

Collaborators

  • tjholowaychuk