Re: Adding text before last paragraph

From: Date: Tue, 28 Aug 2007 01:32:52 +0000
Subject: Re: Adding text before last paragraph
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-261396@lists.php.net to get a copy of this message
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?

« previous php.general (#261396) next »