You are correct. When I typed it I thought I had the carrat there but I guess not. When I make such a simple mistake then it's a good sign that I need sleep.
For a little more info on Regex, these are some presentations of mine on the subject: http://houseoffusion.com/_regex/presentation/ http://www.houseoffusion.com/RegEx.ppt >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:236304 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