What every web developer should know about regular expressions
Web Development
There is an absolute bare minimum every programmer should know about regular expressions, says Mike.
I can’t agree more. Regular expressions are incredibly useful and a bit scary on first. Head on over to the linked article above to get information on:
- The Line Anchors: ‘^’ and ‘$’
- The Character Class: ‘[]‘
- The Character Class Metacharacter: ‘-’
- Matching Any Character With a Dot: ‘.’
- The Alternation Metacharacter: ‘|’
- Matching Optional Items: ‘?’
- The Other Quantifiers: ‘+’ and ‘*’
- The Interval Quantifier: ‘{}’
- The Escape Character: ‘’
- Using Parenthesis for Matching: ‘()’
Really great stuff.
Related articles
- IrRegular Expressions (synthcode.com)
- An Efficient and Elegant Regular Expression Matcher in Python (morepypy.blogspot.com)
- How to Test Regular Expressions in .NET without Giving Yourself Migraines (aaronstannard.com)
- Regular Expressions (tomaltman.com)
