03-10-2004, 06:03 PM | #1 |
Fully Converged
Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Regular Expression (RegEx) Resources
Steve Mansour has compiled a nice reference for Perl Regular Expressions.
If you find other good reference sources, post them here. |
03-10-2004, 06:28 PM | #2 |
Fully Converged
Posts: 18,171
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/).
|
Advert | |
|
03-11-2004, 11:05 PM | #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:
|
|
04-01-2004, 04:29 PM | #4 |
Fully Converged
Posts: 18,171
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 |
04-03-2004, 04:27 AM | #5 |
Fully Converged
Posts: 18,171
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!! |
Advert | |
|
04-03-2004, 04:35 AM | #6 |
Fully Converged
Posts: 18,171
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
|
06-01-2004, 05:18 PM | #7 |
Fully Converged
Posts: 18,171
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!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 03:37 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 06:19 AM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 11:45 PM |
help with regex expression | daesdaemar | Workshop | 4 | 02-19-2010 08:38 AM |
Need help with regex expression | daesdaemar | Workshop | 18 | 02-07-2009 04:48 PM |