Regular expression, or often known as regex, is a pattern that consist of rules used to match a certain set of strings. They are extremely powerful, and you’ll need them in most programming languages you come across, especially when there’s a need to scan and match context for further actions.
Here’s a simple example of regular expression – to match all string consist of "regular expression", "regular expressions", "regex", and "regexp" in a content, this is your regular expression pattern –
Now, they might seem a little bit confusing or hard to pick up at first, but once you understand the syntax, you’ll notice it’s pretty simple and definitely very useful for future coding projects. Learning and using Regular Expressions don’t have to be torturous process.
Here’s a list of useful regular expression tools and resources to make your life easier. Full list after jump.
Expresso (Win)Expresso is an award winning regex editor suitable for regular expression beginners; it also has a full-featured development environment for programmers and web designers.
Rad Software Regular Expression Designer (Win)Interactive Windows based regex application designed to be simple and easy to use. .NET framework is required.
The Regex Coach (Win)Graphical application for Windows which can be used to experiment with (Perl-compatible) regular expressions interactively.
RegExr Desktop (Win, Mac, Linux)Tools for learning, editing, and testing regular expressions (RegEx or RegExp for short) on Mac OSX, Windows, and Linux.
Regular Expressions TesterFirefox addon testing tool for regular expressions with color highlighting (including submatches) and helpers for creating expressions.
RegE xr Created by gskinner, this is one of the best online regular expression tool we’ve seen so far. It is community driven with useful examples of regex syntax. Supports match and replace.
HTML2Regexp – Regular Expression Generator for HTML Element Ruby program of generating regular expressions for extracting HTML elements.
reWorkOnline regular expression tools with functions like replace, multiple, split, scan and more. Update results instantly as you type.
RubularRuby-based regular expression editor. Handy and simple way to test your regular expressions on the web.
We are probably just scratching the surfaces of useful Regular Expression tools. If you think we’ve missed a good piece regex article or tools , please leave a comment below. Thanks!