Lee,

This is the dirtiest way to do what you asked about:

<cfset Result = REReplace("YourString", "[[:punct:]]*[
]*", "", "ALL")>

<cfoutput>#Result#</cfoutput>


hope that make sense

Hamid Hossain
Certified ColdFusion Developer



--- Lee Fuller <[EMAIL PROTECTED]> wrote:
> 
> 
> Anyone have a quick, down and dirty method of
> stripping non-alpha
> characters, that they'd like to share?  Something
> that would be good to
> check/strip potential login names for email (as an
> example).
> 
> TTAIA!
> 
> 
> Lee Fuller
> Chief Technical Officer
> PrimeDNA Corporation / AAA Web Hosting Corporation
> "We ARE the net."
> http://www.aaawebhosting.com
> 
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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