Hi, > rereplacenocase(string, '[a-z0-9 ]+', '', 'all') > This will remove every occurences of a character > that is NOT within the range of A-Z (both cases), > 0-9 or a space.
Actually this will remove only letters number and spaces... to negate the range., you need a caret: rereplacenocase(string, '[^a-z0-9 ]', '', 'all') But, you could also replace the punctuation class: reReplaceNoCase(string, '[[:punct:]]', '', 'all') HTH, Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236303 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

