strings-escape
v1.0.4
Published
Remove special characters in RegExp
Downloads
21
Maintainers
Readme
strings-escape
Install
$ npm install --save strings-escapeUsage
const stringEscape = require('strings-escape');
const convertedString = stringEscape('Remove special $ characters in RegExp');
//=> 'Remove special \$ characters in RegExp'
new RegExp(convertedString);
License
MIT © [Jijo Paulose]
