What are the best resources for learning regular expressions?
21st February 2012
My answer to What are the best resources for learning regular expressions? on Quora
The O’Reilly book on Regular Expressions is absolutely superb. It will help you build a much deeper understanding if how they actually work than any online tutorial I’ve seen.
Chapter 3 of “Text Processing in Python” is excellent too, and is available for free online:
http://gnosis.cx/TPiP/chap3.txtMore recent articles
- Code-driven AI illustrations are more useful than images from dedicated image models - 28th November 2026
- Three LLM inflection points in twelve months - 24th November 2026
- Ladybird's first alpha release - 23rd November 2026
- Running the full server-side Datasette Python app in the browser with service workers and Pyodide - 17th November 2026