in reply to Re: Substitute \W but not \.
in thread Substitute \W but not \.

This works well for English, but may fail under other locales. Using the sets that honor locales is more portable across data sets.