Re: Adding text before last paragraph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, August 27, 2007 5:45 pm, Dotan Cohen wrote:
> Thank you Brian. This most certainly works. I'm having a very hard
> time decyphering your regex, as I'd like to learn from it. I'm going
> over PCRE again, but I think that I may hit google soon. Thank you
> very, very much for the working code. As usual, I have another night
> of regex waiting for me...

To understand regex, download "The Regex Coach" and play with your
input string and the pattern.

It color-codes and highlights everything if you check the right boxes,
and you can also do a step-by-step slow-motion instant-replay, again
with color-coding highlighting that makes it blatantly clear exactly
what is going on.

I cannot praise this tool enough for explaining regex.
http://weitz.de/regex-coach/

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux