Regex help appreciated

From: Date: Tue, 12 Aug 2003 15:55:58 +0000
Subject: Regex help appreciated
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159291@lists.php.net to get a copy of this message
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 <para font-size="12" font-family="Arial" style="heading 2">Some<anchor type="bkmrk"/>more text-</para> <para font-size="12" font-family="Arial" style="heading 2"><inline caps="false">Some text</inline>more text</para> Tried something like this for first bit but grabbing the anchor tag with the text. |<para(.*)style=\"heading 2\"">(([a-zA-Z0-9/-/_/&\s]+)?)([<anchor type="bkmrk" name="[a-zA-Z0-9/_]+"/>])?(.*)</para>| Help much appreciated. Thanx

« previous php.general (#159291) next »