Re: [PHP] Regex help appreciated

2003-08-14 Thread Mukul Sabharwal
input_string)) { execute_this_Regex(); } It should be faster this way, and an even more efficient solution can be using Perl Regex. HTH Mukul Sabharwal http://www.dehvome.org - Original Message - From: "David Pratt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] Regex help appreciated

2003-08-14 Thread David Pratt
I am trying to get a regex to extract the "Some" and "more text" between the para elements below in a single pass for style attribute of heading 2 Somemore text- Some textmore text Tried something like this for first bit but grabbing the anchor tag with the text. |(([a-zA-Z0-9/-/_/&\s]+)?)([