Regexp hacks

tips and tricks for learn­ing, build­ing and using reg­u­lar expres­sions

IBM developerWorks tutorials and articles

Know your reg­u­lar expres­sions

Hone your reg­exp pat­tern-build­ing skills” is a hands-on tutor­i­al tak­ing you through the clas­sic UNIX and Lin­ux com­mand-line tools.

[ad]

Other tutorials and articles

[amazonify]0596520689[/amazonify]

You can [amazonify]0596520689::text::::pre-order the Reg­u­lar Expres­sions Cook­book[/amazonify] to get it the day it’s released (2009). [amazonify]0596528124::text::::Mas­ter­ing Reg­u­lar Expres­sions[/amazonify] is cur­rent­ly avail­able.

Pat­tern Match­ing and Reg­u­lar Expres­sions

Reg­u­lar Expres­sions explained

Find­ing Text in Con­text”: an arti­cle about grep’s con­text out­put.

[ad]

Regexp examples and one-liners

[amazonify]0596528124:right[/amazonify]

Exam­ples from regular-expressions.info

regexlib.com, a search­able library of thou­sands of reg­u­lar expres­sions

list of reg­ex­ps for match­ing num­bers

For further reference

If it lives up to its name, the [amazonify]0596520689::text::::Reg­u­lar Expres­sions Cook­book[/amazonify] is bound to be a clas­sic.

Need more? The dmoz list­ing for reg­ex­ps is long.

First published on March 7th, 2009 at 10:14 pm


Better Tag Cloud