[Cialug] RegEx

Bailey, Jonathan C bailj0 at bp.com
Wed Oct 12 13:32:50 CDT 2005


Working with PHP regex.. I'd like to use ereg_replace, but preg would be
fine...


I want to remove the following, including the closing tags:

<st1:place w:st="on">
<st1:City w:st="on">

(word smart tag stuff)

Pretty much, I want to replate <st1**WILDCARD**> and </st1**WILDCARD**>
with nothing. I don't want to remove the text between the tags.


Regex $deity, please help!



------------------------------
 "Docendo discimus"

Jonathan C Bailey
Customer Care - POS
(888) BP-HELP-U
(630) 300-5301 x5301

150 W Warrenville Rd
Mail Code 200-1011T
Naperville, IL

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20051012/556e2c50/attachment.html


More information about the Cialug mailing list