Thanks to Paul Dupuis, whose post led me to a closer study of the dictionary. The command “replace numToCodePoint(65534) with empty” does what I want. (And my original “replace numToChar(63) not only fails to remove the trailing hyphens, it does remove actual question marks). David Epstein