Matt,

I tried your solutions and it works 100%, except when it's my variable from the 
form. It's a tiny MCE field and it seems it must be inserting some 
non-printable character.  I changed the statement

        From this:     #reReplaceNoCase(myString, '<p>([\s]|\&nbsp;)*</p>', '', 
'all' )#
        
        To This:  #reReplaceNoCase(myString,'<p>([^\w*?])*</p>','','all' )# 

This seems to be working.

Can someone that knows regex better that I confirm the "to this" says:    Strip 
from <p> to </p> UNLESS it contains a letter or a number? I think that's what 
it says. Is that right?

Thanks


Robert Harrison 
Director of Interactive Services

Austin & Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:      http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austin_

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351450
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to