Regexp hacks
tips and tricks for learning, building and using regular expressions
IBM developerWorks tutorials and articles
“Know your regular expressions”
“Hone your regexp pattern-building skills” is a hands-on tutorial taking you through the classic UNIX and Linux command-line tools.
[ad]
Other tutorials and articles
[amazonify]0596520689[/amazonify]
You can [amazonify]0596520689::text::::pre-order the Regular Expressions Cookbook[/amazonify] to get it the day it’s released (2009). [amazonify]0596528124::text::::Mastering Regular Expressions[/amazonify] is currently available.
“Pattern Matching and Regular Expressions”
“Regular Expressions explained”
“Finding Text in Context”: an article about grep’s context output.
[ad]
Regexp examples and one-liners
[amazonify]0596528124:right[/amazonify]
Examples from regular-expressions.info
regexlib.com, a searchable library of thousands of regular expressions
list of regexps for matching numbers
For further reference
If it lives up to its name, the [amazonify]0596520689::text::::Regular Expressions Cookbook[/amazonify] is bound to be a classic.
Need more? The dmoz listing for regexps is long.