yes, anything that is not alphanumeric. and that would work perfectly, i think. i was thinking from the other way... the hard way... trying to put them all in the regex, but yes, why not just say ^ on the AlphaNumeric Tip, G!
word. tw On 1/23/06, Charlie Griefer <[EMAIL PROTECTED]> wrote: > so anything that's not alphanumeric? > > rereplaceNoCase(mystring, '[^a-z0-9]', '', 'all') > > i'd certainly defer to the esteemed Ninja Doom. just wanted to take a shot :) > > On 1/23/06, Tony <[EMAIL PROTECTED]> 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:193810 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=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
