Skip to content

jijo-paulose/strings-escape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]