Tom,

While we're on the subject of regex, do you know how to strip hidden characters
from a string (chr(10) and the like)? Also, regex is not one of my strong suits,
have you got any good links on the subject?

Thanks

-- Bruce

> -----Original Message-----
> From: Tom Espen Pedersen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 12, 2000 4:14 AM
> To: CF-Talk
> Subject: Re: RegEx to strip HTML
>
>
> <cfset VAR = REReplace(VAR, "<[^>]*>", "", "All")>
>
> If theres a text : <sometag> lalalala <sometag> bababa
> it will remove the <sometag>'s and return "lalalalala babababa"
>
> Tom Espen Pedersen
> developer
> www.pixelduck.com
>
>
> ----- Original Message -----
> From: "Aidan Whitehall" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 12, 2000 10:58 AM
> Subject: RegEx to strip HTML
>
>
> > Does anyone know a RegEx to strip HTML tags from a string?
> >
> > I've done a search but can't make sense of the RegEx's that have turned up
> > (Perl - eek! what's that?!? - j/k  ;-)
> >
> >
> >
> > Thanks
> >
> > --
> > Aidan Whitehall <[EMAIL PROTECTED]>
> > Netshopper UK Ltd
> > Advanced Web Solutions & Services
> >
> > http://www.netshopperuk.com/
> > Telephone +44 (01744) 648650
> > Fax +44 (01744) 648651
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to