/// <summary> /// 提取英文 /// </summary> /// <param name="str"></param> /// <returns></returns> public string GetSubString(string str) { Regex regex = new Regex("^[A-Za-z]+"); MatchCollection mMactchCol = regex.Matches(str); string strA_Z = string.Empty; foreach (Match mMatch in mMactchCol) { strA_Z += mMatch.Value; } return strA_Z; }