62,041
社区成员
发帖
与我相关
我的任务
分享
string str = @"ID_Body_ID_GE_GeBugInput_emailWay
ID_Body_ID_GE_GeBugInput_otherEmail
ID_Body_ID_GE_GeBugInput_emailHeader
ID_Body_ID_Common_ListQuestion_txtPage ";
string pstr = @"(ID_Body_ID_\w+)";
str = Regex.Replace(str, pstr, "$1.ClientId");
string str = @"ID_Body_ID_GE_GeBugInput_emailWay
ID_Body_ID_GE_GeBugInput_otherEmail
ID_Body_ID_GE_GeBugInput_emailHeader
ID_Body_ID_Common_ListQuestion_txtPage ";
string pstr = @".*_(\w+)";
str = Regex.Replace(str, pstr, "$1.ClientId");
Response.Write(Tools.Html(str));