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
- Tips on prompting ChatGPT for UK technology secretary Peter Kyle - 3rd June 2025
- How often do LLMs snitch? Recreating Theo's SnitchBench with LLM - 31st May 2025
- Talking AI and jobs with Natasha Zouves for News Nation - 30th May 2025