[导读]: 在一段代码中 dd class="ms"a target="_blank" href="http://www.heshiba.com/goods/goodsinfo?goodsid=47" title="xxxxxx" class="c3"xxxxxxx/a 就是把这些代码中的 goods/goodsinfo?goodsid=5 goods/goodsinfo?good...
在一段代码中
<dd class="ms"><a target="_blank" href="http://www.heshiba.com/goods/goodsinfo?goodsid=47" title="xxxxxx" class="c3">xxxxxxx</a>
就是把这些代码中的 goods/goodsinfo?goodsid=5 goods/goodsinfo?goodsid=31 goods/goodsinfo?goodsid=157
替换为 goodsinfo_5.html goodsinfo_31.html goodsinfo_157.html
其中的数字是任意,字符不确定,1-3位数之间。
求正则匹配的表达式。我想批量替换下
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/50265.html