Regular Expressions Resource Area
Welcome to the Programmer's Heaven Regular Expressions resource area. Whether you have never used regexes before or if you're a guru, we have something useful for you here.
Tutorials
If you are new to regular expressions or want to learn more about them, you may want to check out our
tutorial. We suggest that you open our regular expression testing tool in another window, so you can try out what you are learning.
Once you have a basic grounding in regular expressions, it's useful to know how to use them in the programming language you are working in. We have tutorials for the following languages/platforms:
If you just need to brush up on your regex syntax or want an overview of what works in which implementations, our
regex quick-reference is here to help.
Testing
Need to test whether a regex matches a string and see what it captures? Try out our
powerful regex testing tool.
Regex Library
We have assembled a library of regexes that solve a lot of common problems in validation and extracting data. Start your search by selecting a category.
Under The Hood
You don't need to know the theoretical background of regular expressions and how you might go about implementing a regular expression engine, but if you're curious then check out
this article.
About The Author
Jonathan Worthington works at Programmer's Heaven, hacking on code in a multitude of languages and writing numerous articles. He holds a degree in Computer Science from the University of Cambridge, England, and his main areas of interest are programming language design and semantics, compilers, virtual machines and type theory. He has worked in web development for a number of years and contributes to Parrot, the runtime for the next version of Perl and other dynamic languages. In his free time Jonathan loves to travel, especially to places with beautiful scenery where he can go walking.