The ultimate JavaScript regex guide
May 17, 2025

The string is arguably the most essential data type in programming — every programming language and software in the world uses strings in one way or another. It enables humans to easily communicate with sophisticated programs and machines. One thing that would help you a lot as a programmer is understanding how to use and manipulate strings so that you can build programs users love.
Regular expressions enable developers to perform a wide range of text processing tasks such as data validation, string manipulation, or text extraction. In this article, you will learn everything you need to know about writing a JavaScript regex, and you can start using them efficiently in your JavaScript code.
Source: The ultimate JavaScript regex guide – Honeybadger Developer Blog
I first encountered regular expressions in my first year of computer science in 1985. They are probably still as arcane to me now 40 years later.
This is a great introduction to regular expressions in JavaScript. But I’m likely to continue just asking an LLM to give me a regex when I need it.