摘要:
应用实例:待处理字符串:str=”display=test name=mu display=temp”要求:把display=后的值都改成localhostJS处理方法: str.replace(/display=\w*/g,”display=localhost”);C#处理方法:Regex reg=new Regex(@”display=\w*”); str=reg.Replace(str,”display=localhost”);应用实例:待处理字符串:str=”display=test name=mu display=temp”要求:字符串变为display=localhosttes.. 阅读全文
posted @ 2012-08-24 00:32
穆穆
阅读(661)
评论(0)
推荐(0)
浙公网安备 33010602011771号