Sometimes it's nice to document the little wins. Today, I learned this useful bit of code to parse a string into an array of words, while removing punctuation. text.replace(/\p{P}/gu, "").split(" ")) To break this down: text: the string to parse .re...
Fullstack developer, musician, CI/CD enthusiast
Markdown supported · ⌘↵ to post
Developer Avocado
Thanks for sharing ! 👏