1.0.4 • Published 4 years ago
strings-escape v1.0.4
strings-escape
Install
$ npm install --save strings-escape
Usage
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