Posted: 14 Mar 2011 02:42 PM PDT
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.
Desktop Regex Tools
Rad Software Regular Expression Designer (Win)
The Regex Coach (Win)
RegExr Desktop (Win, Mac, Linux)
Regex Widget (Mac)
Regular Expressions Tester
Online Regex Tools
HTML2Regexp – Regular Expression Generator for HTML Element
More Reading on Regex
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!
|You are subscribed to email updates from hongkiat.com |
To stop receiving these emails, you may unsubscribe now.
|Email delivery powered by Google|
|Google Inc., 20 West Kinzie, Chicago IL USA 60610|