I am using Microsoft Project VBA to translate my activity names from English to Chinese.
My problem is I have some Chinese translations embedded in some of the English activity names. I want to strip out the Chinese characters before passing the string to Microsoft Translator.
Any ideas as to how I can do that?
You can use a
Regexpto strip the Chinese unicode charactersWikipedia lists the relevant characters below
So this regexp will strip out these ranges. I have used aldo.roman.nurena’s string example