regex-trimmer
v1.0.0
Published
Regex for matching specific whitespaces
Downloads
5
Readme
regex-trimmer
Regex to match specific whitespaces
Install
$ npm install --save regex-trimmer
Usage
var regexTrimmer = require('regex-trimmer');
' unicorns '.replace(regexTrimmer(), '');
//=> 'unicorns'
License
MIT © drkraken