Patted all Chinese characters from strings

zhaozj2021-02-12  133

Public String Test (String Content)

{

Regex regex = new regex ("[/ u4e00- / u9fa5] ");

String str = "";

Foreach (Match M in Regex.matches (Content))

{

Str = M.Value;

}

Return Str;

}

转载请注明原文地址:https://www.9cbs.com/read-7310.html

New Post(0)