12 Resources For Mastering Regular Expressions
Any development project, whatever language is being used, usually requires extracting values from a given data and validating it.
This can be input validation, filtering URL variables, etc. Regular expressions handle such tasks easily and help a lot when it comes to minimizing the code.
On the other hand, regular expressions are considered as “hard to learn”. But, “not at all”, they just look complicated but they definitely are not.
Here are 12 great resources for learning and mastering regular expressions.
I had started with no:1 (RegExplained) and suggest that you do so too. Watch the talk of Lea Verou and you’ll already be knowing it. After that, use others to improve your skills.
RegExplained is the project that thought me regex. It is a simple playground which highlights the matched text from a regex in real-time.
It is a project of Lea Verou and also supported with a talk (I suggest you watch it to start learning regular expressions quickly).
One of the most simplified regular expression guides on the net. Easy to understand and covers the most important stuff.
You may want to check what Microsoft docs tell too.
RegexPlanet allows testing expressions using any of the multiple languages. The expressions created can be shared and, a cookbook features handy regular expressions.
A popular regex editor for Ruby which inspired many other projects.
A tool that helps extracting any given text visually by clicking on items in a filtered text.
A regular expression tester for PHP developers. The tool can also generate unique URLs so that you can share the code with others or keep working on later.
It aims to make the regular expressions easy to read and write with commands like:
.startOfLine() .then( "http" ) .maybe( "s" ) .then( "://" ) .maybe( "www." ). Simple, huh?
A one-of-a-kind resource for improving your regex skills. It is similar to the classic puzzles where you are given a regular expression to guess the right letter for the field.