Sorry, yes... it removes anything that isn't a letter, number, underscore or
hyphen

You could add dots to it as well if you want to run it against the whole
name including the extenstion...

[^a-zA-Z0-9-_\.]

So this:
Rereplace('joe_smiling (small).jpg', '[^a-zA-Z0-9-_\.]', '_', 'all')

Would result in:
joe_smiling__small_.jpg



..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-----Original Message-----
From: daniel kessler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 14, 2008 2:19 PM
To: CF-Talk
Subject: Re: image size setup

>A safe bet would be rereplace [^a-zA-Z0-9-_]

Thank you very much.

I want to just implement it without getting it, but I can't.  What would
that clear out?  My guess is that it only allows a-z (and caps) and 0 to 9
(and maybe dash).

I do appreciate the help. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305267
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to