-1

I have a strange REGEX Request. I would like to clear out all of these chinese characters from my file. Im already not good with regex, and I would like to do this using RegEx within visual studio find/replace (current document) if possible.

Basically the search string would be like this: BEFORE

 <nomenclature name="sCharge_Account_String" value="Charge Account/ 收费帐户:"/>

AFTER

 <nomenclature name="sCharge_Account_String" value="Charge Account:"/>

So I want to clear everything between the "/" and the ":" but include the "/"

salazar44
  • 139
  • 3
  • 11

1 Answers1

3

Information on unicode ranges for Chinese characters: What's the complete range for Chinese characters in Unicode?

Information on how to match unicode characters: Regular expression to match non-English characters?

I'll leave the rest up to you since it's a simple question of implementation.

Community
  • 1
  • 1
tenub
  • 3,336
  • 1
  • 15
  • 25
  • 1
    Thanks! With your help in one of the links I was able to use this RegEx code in visual studio in Find/Replace /[^\u0000-\u0080]+ – salazar44 Jan 30 '14 at 17:45