当前位置: 首页 > 图文教程 > 网络编程 > 正则表达式 > editplus EmEditor和searchandreplace正则表达式
editplus EmEditor和searchandreplace正则表达式
在Emeditor中用“.*”匹配任意字符,如要将文章所有类似“<table style="boder:1px solid blue">”简化为“<table>”可搜索字符串“<table style=".*">”并替换为“<table>”即可。
相应地在search and replace(sr32.exe)中用“*[]”来匹配,如将所有“ style="boder:1px solid blue"”去除可用字串“ style='*[]'”进行搜索,替换字串为空,搜索替换即可。
在 editplus中的一些比较不错的正则:
替换空行
评论 (0) All