Can you post a little sample of the data and your current code? thanks.
Jim Grill Web-1 Hosting http://www.web-1hosting.net ----- Original Message ----- From: "Kathleen Ballard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 01, 2004 8:27 AM Subject: [PHP] regex help > I am at the tailend of a project that involves moving > legacy data from one dbms to another. The client has > added a new requirement to the data manipulation that > is required. I need to remove all <br /> tags (there > may be more that one) that appear within all <h*> > tags. > > I am not very familiar with building regular > expressions, but I see this as a 2 part process. > First, to grab <h*> tags, and second, to strip the > br's. > > I can grab the beginning of the tag easily, but my > expressions grab too much. > > Also, I am not sure how to remove the br's. > > Any help would be appreciated. I have tried to find > similar examples, but without any luck. Also, php5 is > not an option at this point. > > Kathleen > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php