I'm working to turn the follow below into a friendly URL.

"Who watched Jay Leno's Show [Last Night]"

I tried using:
<cfset newUrl = reReplaceNoCase(arguments.theString, "\W", "-", "ALL")>

But that results in "Who-watched-Jay-Leno-s-Show--Last-Night--


Is there a regex that can do this task in a way to handle punctuation? 

So Commas don't get a - and periods do? Can this be done in one like of Regex 
or does it need to be a series?

Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:302244
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