![]() |
#1 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
![]()
Steve Mansour has compiled a nice reference for Perl Regular Expressions.
If you find other good reference sources, post them here. |
![]() |
![]() |
#2 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Another good RegEx resource is the book O'Reilly's Mastering Regular Expressions (http://www.oreilly.com/catalog/regex/ and http://www.oreilly.com/catalog/regex2/).
|
![]() |
![]() |
#3 | |
mechanoholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 582
Karma: 1000217
Join Date: Mar 2004
Location: Sarasota, FL
Device: Nook STR/iPhone 4S/EVO 4G
|
The following comes straight out of the Sitescooper docs and has several more good Perl resources in addition to the Tao one:
Quote:
|
|
![]() |
![]() |
#4 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Another great RegEx resource, especially for beginners:
http://www.regular-expressions.info/tutorial.html |
![]() |
![]() |
#5 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
A great tool to learn RegEx is The RegEx Coach.
The Regex Coach is a graphical application for Linux and Windows which can be used to experiment with (Perl-compatible) regular expressions interactively. It has the following features: - It shows whether a regular expression matches a particular target string. - It can also show which parts of the target string correspond to captured register groups or to arbitrary parts of the regular expression. - It can "walk" through the target string one match at a time. - It can simulate Perl's split and s/// (substitution) operators. - It tries to describe the regular expression in plain English. - It can show a graphical representation of the regular expression's parse tree. - It can single-step through the matching process as performed by the regex engine. - Everything happens in "real time", i.e. as soon as you make a change somewhere in the application all other parts are instantly updated. Best of all, it's free!! |
![]() |
![]() |
#6 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Another great resource is the Regular Expression Library, which has hundreds of patterns figured out for you already. Good use if you don't want to reinvent the wheel
![]() |
![]() |
![]() |
#7 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,169
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Learning Perl the Hard Way is a free ebook available as Adobe PDF. Chapter 2 focuses on Regular Expression. Good read!
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 05:19 AM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 10:45 PM |
help with regex expression | daesdaemar | Workshop | 4 | 02-19-2010 07:38 AM |
Need help with regex expression | daesdaemar | Workshop | 18 | 02-07-2009 03:48 PM |