mystring=rereplacenocase(mystring,"<FONT[^>]*>","","ALL")>

What this says is...

find a < followed by the word FONT, followed by zero or more characters that are not a 
> followed by a >


Yours said...

Find a string that starts with <FONT and ends with a > with nothing else in the string.

(The ^ indicates start at the begining of the string (or line))
(The $ indicates ends at the end of a string (or line))

So you were basically checking for a string that was <FONT>

HTH
Jerry

>>> [EMAIL PROTECTED] 04/19/02 11:29AM >>>
If I want to do a regular expression replace to remove several (but not all
HTML tags) what is the syntax that I should use.  I want the expresion to
find, for example, the '<font and end at the '>' tag regardless of what is
in the middle.  I've tried this <cfset
mystring=rereplacenocase(mystring,"^<FONT$>","","ALL")> but that doesn't
seem to work.  Any suggestions?

Thanks for your help

Daron J. Smith
Web Developer
PSEA

[EMAIL PROTECTED] 
717-255-7141 
1-800-944-PSEA (7732) x 7141
Please note new email address (old one with 'mail' will soon expire)

 
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to