我需要删除“WatchorDownloadVideo”上方的行或“[/quote]”下方的行,因为我有 2000 条类似这种模式的消息。
[url=https://img164.imagetwist.com/i/31488/ddqvrejas5t
[url=https://i.postimg.cc/2jVXsj3Y/a-chubby
Resolution: 364 x 364 pixels
[/quote]
[url=https://img164.imagetwist.com/i/31488/hm713936i1qn
[url=https://i.postimg.cc/RVvJ3hf5/a-chubby
WatchorDownloadVideo
[url=https://gounlimited.to/
[url=https://rapidgator.net/
我需要以下输出
[url=https://img164.imagetwist.com/i/31488/ddqvrejas5t
[url=https://i.postimg.cc/2jVXsj3Y/a-chubby
Resolution: 364 x 364 pixels
[/quote]
WatchorDownloadVideo
[url=https://gounlimited.to/
[url=https://rapidgator.net/
答案1
搜索:
(?is)(\[/quote\]).+?(WatchorDownloadVideo)
用。。。来代替:
$1\n$2
启用正则表达式搜索。