Charlie's more or less got it right. It kinda depends on what you mean by "special". His will work just fine if you want to only keep letters and numbers. If you need other chars kept, too, you can (mostly) just add them to what is in the [] brackets. If you need more help, feel free to ask.
--Ben Tony wrote: > what regex can i use to strip all special characters and spaces from a string? > i keep effing it up, and am just plain dumb :) > > thanks man. > tony > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:5:193813 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
