C#正则用法
第一种用法:
--------------------------------------------------
string p=@"[a-z0-9]+";
Regex.Replace(schString , p , replaceString);
第二种用法:
--------------------------------------------------
Regex reg = new Regex(@"[a-z0-9]+");
reg.Replace(schString, replaceString)
--------------------------------------------------
string p=@"[a-z0-9]+";
Regex.Replace(schString , p , replaceString);
第二种用法:
--------------------------------------------------
Regex reg = new Regex(@"[a-z0-9]+");
reg.Replace(schString, replaceString)