|
Posted by robert on 05/09/06 00:35
"Juby" <jubydoo@gmail.com> wrote in message
news:1147109699.582707.192550@u72g2000cwu.googlegroups.com...
|I remembered the other thing I was going to ask, do you know of any
| good web pages to learn regular expressions from? I've found one or
| two, and I've picked up a thing or two, but as you can tell, I'm still
| pretty shaky with it.
here's just one:
http://www.evolt.org/article/rating/20/22700/
it's pretty good.
the best resource i've found is "mastering regular expressions 2nd edition"
by jeffery e.f. friedl. there's also a pocket reference which is all you'll
need after you get more comfortable using it.
btw, don't let people pffff you when you suggest using regular
expressions...they probably just don't know how to use them or how
flexible/powerful they are. and on the flip side of that coin, if you can
easily parse a string using more standard (and inherently faster) php string
routines (i.e. substr, str_replace, explode, etc.), then by all means use
those first.
hth,
me
Navigation:
[Reply to this message]
|