"Simpler" is a matter of taste. I, for one, always forget that \w includes digits, so seeing the [a-z0-9] clues me immediately. But, as I said, that's purely personal preference. This works just fine and, in fact, you can lose the brackets (they're implied, as \W is a built-in class).
--Ben James Smith wrote: > Would it not be simpler to use... > > reReplace(mystring, '[\W]', '', 'all') > > -- > Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:5:193830 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
