日期:2014-05-17  浏览次数:20583 次

求正则匹配
C# code

string title1 = "啊啊啊啊啊Q3";
string title2 = "啊啊啊啊啊1006";


提取结果为
C# code

string title3 = "Q3";
string title4 = "1006";



------解决方案--------------------
C# code
Regex reg = new Regex(@"(?is)[a-z0-9]+");

------解决方案--------------------
"[^\u4e00-\u9fa5]+"