<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1">
<TITLE>RegEx</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Working with PHP regex.. I'd like to use ereg_replace, but preg would be fine…</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I want to remove the following, including the closing tags:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"><st1:place w:st="on"></FONT>
<BR><FONT SIZE=2 FACE="Arial"><st1:City w:st="on"></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">(word smart tag stuff)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Pretty much, I want to replate <st1**WILDCARD**> and </st1**WILDCARD**> with nothing. I don't want to remove the text between the tags.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Regex $deity, please help!</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">------------------------------</FONT>
<BR><I><FONT SIZE=2 FACE="Arial"> “Docendo discimus”</FONT></I>
</P>
<P><FONT SIZE=2 FACE="Arial">Jonathan C Bailey</FONT>
<BR><FONT SIZE=2 FACE="Arial">Customer Care - POS</FONT>
<BR><FONT SIZE=2 FACE="Arial">(888) BP-HELP-U</FONT>
<BR><FONT SIZE=2 FACE="Arial">(630) 300-5301 x5301</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">150 W Warrenville Rd</FONT>
<BR><FONT SIZE=2 FACE="Arial">Mail Code 200-1011T</FONT>
<BR><FONT SIZE=2 FACE="Arial">Naperville, IL</FONT>
</P>
</BODY>
</HTML>