@feizheng/next-match-words
v1.0.0
Published
Get matched english words.
Downloads
2
Readme
next-match-words
Get matched english words.
installation
npm install -S @feizheng/next-match-words
usage
import '@feizheng/next-match-words';
const words = "How're you, i'm fine. And you?";
const res = nx.matchWords(words);
// ["How're", 'you', "i'm", 'fine', 'And', 'you']
resources
- https://github.com/regexhq/word-regex
license
Code released under the MIT license.