62,267
社区成员
发帖
与我相关
我的任务
分享
string s="dsfb,/dsfhb;l,k'dsfh,/adsfhfg,jdkmsm,-sdh_sfnhsgn56461ergasdg5,sdfg dsfgbdf";
s=System.Text.RegularExpressions.Regex.Replace(s, "[^A-Za-z0-9_]{1,1}", string.Empty);
str = Regex.Replace(str, @"[^a-zA-Z0-9_]", "");