TLDR Web Dev · QUICK LINKS
HOW TO SPLIT JAVASCRIPT STRINGS INTO SENTENCES, WORDS OR GRAPHEMES WITH "INTL.SEGMENTER"
Summary from the TLDR Web Dev newsletter
Intl.Segmenter, a native way to split strings into words, sentences, and even graphemes, will reach cross-browser support with Firefox 125 (out on April 16).