RegEx Useful resources

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

RegEx Useful resources

Post by RobertGonzalez »

For those of you who find a useful items related to regular expressions, if you could post a link to it in this thread, it would be most appreciated.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Post by DaveTheAve »

User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

User avatar
veridicus
Forum Commoner
Posts: 86
Joined: Fri Feb 23, 2007 9:16 am

DocForge

Post by veridicus »

Regular expressions reference

and

Regular expressions reference specific to PHP

DocForge is a public wiki, so anyone can add info and examples.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

This one was posted somewhere else before as well, but it seems appropriate here as well:

JRX: real-time JavaScript RegExp evaluator
http://www.cuneytyilmaz.com/prog/jrx/
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The following was mistakenly posted to a new thread.
trishjo wrote:Check out this regex tutorial: http://e-texteditor.com/blog/2007/regul ... s_tutorial

I found it pretty cool, especially the cheat sheet. I have already printed it out and posted on the wall beside my screen.

Trish
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Of all the I Love Jack Daniels cheat sheets I posted, I cannot believe I have forgotten to post this one...

http://www.ilovejackdaniels.com/cheat-s ... eat-sheet/
Gurzi
Forum Commoner
Posts: 27
Joined: Wed Aug 02, 2006 4:04 pm

Post by Gurzi »

aCa
Forum Newbie
Posts: 11
Joined: Sun Apr 06, 2008 3:43 pm

Re: RegEx Useful resources

Post by aCa »

I released a beta of my regex tool earlier this week at http://regex.larsolavtorvik.com/ . It uses AJAX to give you feedback right away without having to submit the page.

My goal is to make it easy for you to test your regex patterns.

So far it supports PHP PCRE, PHP POSIX, Javascript and Perl. I plan to add more languages later.

Feel free to come with comments and suggestions on my blog at http://larsolavtorvik.com/ about bugs, improvments etc to make the tool better for all of us that uses regex regulary.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: RegEx Useful resources

Post by John Cartwright »

aCa wrote:I released a beta of my regex tool earlier this week at http://regex.larsolavtorvik.com/ . It uses AJAX to give you feedback right away without having to submit the page.

My goal is to make it easy for you to test your regex patterns.

So far it supports PHP PCRE, PHP POSIX, Javascript and Perl. I plan to add more languages later.

Feel free to come with comments and suggestions on my blog at http://larsolavtorvik.com/ about bugs, improvments etc to make the tool better for all of us that uses regex regulary.
Very cool, thanks for sharing!
Lydecker
Forum Newbie
Posts: 1
Joined: Fri Sep 05, 2008 3:33 pm

Re: RegEx Useful resources

Post by Lydecker »

Online tool for designing and testing regular expressions:

http://www.regex.cc

It uses ajax and perl for evaluating the expressions.
User avatar
GeertDD
Forum Contributor
Posts: 274
Joined: Sun Oct 22, 2006 1:47 am
Location: Belgium

Re: RegEx Useful resources

Post by GeertDD »

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: RegEx Useful resources

Post by Luke »

I had always struggled with regular expressions until I read "Mastering Regular Expressions" by Jeffrey Friedl. He did a great job of making a really mundane subject very interesting and even humorous at times. I wholly recommend it.

http://oreilly.com/catalog/9780596528126/index.html
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: RegEx Useful resources

Post by RobertGonzalez »

I'd ++ Ninja's recommendation. He was able to teach me a thing or two about regex in an emergency situation based on something he recalled from that book.
Post Reply