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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    102,616
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    102,616

Package Sidebar

Install

npm i escape-regexp

Weekly Downloads

85,230

Version

0.0.1

License

none

Last publish

Collaborators

  • tjholowaychuk