February 26th, 2004, 11:09 PM
Hi. Let's say I have something like this,
and what I ultimately want to end up with is this,
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center>some text</p>
I've been trying to figure out what regular expression to use in the rereplacenocase function to replace with "<p>" but just can't seem to get it right. Can anyone help? Thanks.
February 27th, 2004, 11:17 AM
I'm no regex guru, but maybe tell it to replace everything that matches this:
with just this: '<p'