|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
regular expressions
Hi. Let's say I have something like this,
Code:
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center>some text</p> and what I ultimately want to end up with is this, Code:
<p>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. |
|
#2
|
|||
|
|||
|
I'm no regex guru, but maybe tell it to replace everything that matches this:
'<p[^>]*' with just this: '<p' |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|