Log in

View Full Version : Where to find regex tutorials?



benslayton
07-25-2008, 08:23 AM
Where in the world can i find a good regex tut? It looks like everything I find is just a small intro to a book the site is selling or some junk...

I may have to buy a book...

rangana
07-25-2008, 08:31 AM
I'm having bookmarked my references. Hope it might help you:

http://www.w3schools.com/jsref/jsref_obj_regexp.asp
http://www.evolt.org/article/Regular_Expressions_in_JavaScript/17/36435/
http://www.javascriptkit.com/jsref/regexp.shtml

james438
07-25-2008, 02:07 PM
I have written a bit on the subject of PCRE for my own benefit and to make it a little simpler to understand. It has not been critiqued yet. I hope you find it handy.

http://www.animeviews.com/article.php?ID=19&table=programming
http://www.animeviews.com/article.php?ID=26&table=programming

I wrote it because I needed to have some aspects of PCRE spelled out a little bit simpler. I needed to see some examples as well as a few reasons why I would want to use some of the tricks that PCRE offers. I also tried to expand on a few things that I thought www.php.net was a little too brief on.

benslayton
07-25-2008, 09:32 PM
Thank you thank you...

Never knew w3 had regex tut.. I looked.. I guess its b/c I was looking for php and regex in my search strings...

techietim
07-25-2008, 09:45 PM
If you ever need regex help, you can usally find someone on irc://irc.freenode.net/##php

tfit
08-01-2008, 08:01 PM
If you ever need regex help, you can usally find someone on irc://irc.freenode.net/##php

Do you know if the chat is archived and if so do you have a link?

Jesdisciple
08-10-2008, 06:15 AM
The best I know is http://www.regular-expressions.info/.

jscheuer1
08-10-2008, 08:00 AM
It's quite dry, even a bit arcane, and it is MS. But there is a wealth of information on RegExp here:

http://msdn.microsoft.com/en-us/library/28hw3sce(VS.80).aspx

I find it very useful whenever I'm stuck as regards a RegExp.

Twey
08-10-2008, 03:35 PM
Note that different languages and tools implement regexes a little differently. For example, if you were attempting to use regexes in Javascript, ##php is not the place to go; you'd probably want ##javascript.