1.0.0 • Published 5 years ago

unicode-punctuation-regex v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

unicode-punctuation-regex

package unicode punctuations together

Install

npm i unicode-punctuation-regex

Usage

const punc = require('.')

const origin = 'hello, world,!!'
console.log(origin)
console.log(origin.replace(punc, ''))

// punctuations removed
// -> hello, world,!!
// -> hello world

Test

npm test

Build

npm run build
1.0.0

5 years ago