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
- Hacking the WiFi-enabled color screen GitHub Universe conference badge - 28th October 2025
- Video: Building a tool to copy-paste share terminal sessions using Claude Code for web - 23rd October 2025
- Dane Stuckey (OpenAI CISO) on prompt injection risks for ChatGPT Atlas - 22nd October 2025