日期:2014-05-18 浏览次数:21001 次
string str1="STS09-南澳"; string str2 = "S99NHG南海阁3"; Regex oRegex = new Regex(@"[\u4E00-\u9FA5\-]*"); Response.Write(oRegex.Replace(str1, "")+"</br>"); Response.Write(oRegex.Replace(str2, ""));