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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i escape-regexp

      Weekly Downloads

      99,268

      Version

      0.0.1

      License

      none

      Last publish

      Collaborators

      • tjholowaychuk