Many people try to learn regexps via books and websites. But most of those resources throw some syntax at you, and tell you that you'll be set.
What should you do? My suggestion: Treat regular expressions as a language—and then practice, practice, practice.
There's no substitute for practice when it comes to regular expressions.
Once you do practice them, you start to internalize their structure and power. And then you start to see more and more places in which regexps can solve problems, more quickly than you ever imagined.
Once this happens, you become the regexp master in your office, to whom everyone turns when they can't find the right formula on Stack Overflow. And you can get your own work done faster, because you have the right tools to attack the problem.
Note: This book, Practice Makes Regexp, doesn't aim to teach you regular expressions.
Rather, it aims to take your fledgling knowledge of regexps, and through 50 exercises, turn you into someone for whom regexps are fluent and somewhat natural.
These exercises are based on my many times teaching regular expressions to programmers around the world.
I've seen what works (and what doesn't), and I aim for the exercises to be interesting and fun, as well as useful. My goal is to help you master regexps, such that you can use them in your work with speed and confidence.
No matter which of these languages you use, Practice Makes Regexp will help you to do your work faster and better, working fluidly with text and extracting precisely what you need.
What do I get?
- The book (more than 200 pages in PDF, .mobi, and .epub formats, containing 50 exercises + solutions)
- Support data files for doing the exercises.
- My 300+ slides from the regexp course I give to Fortune 100 companies. Following these slides, you'll be able to teach yourself regexps, or refresh your memory and improve your fluency.
- Updates to the solutions and slides, whenever I make them—for life!
Again, the consultant package also includes video screencasts of me solving the exercises in each language—with (eventually) more than 5 hours of video explanations!
If you'd like more information about the book and the other packages, please visit: http://practicemakesregexp.com