nah, what charlie had was ALMOST prefect! and yes, i spell prefect wrong... cause i just can :)
anyway, charlie had left out caps, but after i made that change, its all good. i just need to learn to think simpler, and from the other way around. i was listing all the special chars in the []'s rather than just saying, keep only alpha-numerics! good stuff. and a learning experience. tw On 1/23/06, Ben Doom <[EMAIL PROTECTED]> wrote: > 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:193819 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
