DW正则表达式批量替换网页 如何查找到这些规则的代码,替换成自己想到的啊 如下。

../../plus/download.php@open=2&id=84&uhash=11245113bc2468f7c1e47b22
../../plus/download.php@open=2&id=80&uhash=d0f78f9ab12e9ac2bcb9b283
../../plus/download.php@open=2&id=104&uhash=6844dadba88d32b6666bfb9c
../../plus/download.php@open=2&id=2&uhash=c220644849a087c6e72d2793
id=是从1一直到160,后面的是不规则的字符。
如何才能批量查找到这些啊?

替换勾选正则
../../plus/download.php@open=2&id=(\d){1,2}&uhash=(.*)

替换那里 输入$1 则是id后面的内容 $2就是hash后面的内容
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答