imsun 大佬有话说 :
正则表达式,怎么写,才能匹配到我的目录?
https://baidu.com/forum-1/page-23122.htm
https://digwow.net/forum-4/page-333.htm
https://baidu.com/
https://baidu.com/forum-1/
https://baidu.com/forum-4/index.htm
https://baidu.com/forum-1/index.htm
https://baidu.com/yojodjsadadadwewe/forum-1/page-2.htm
https://baidu.com/232323/haha-1323313131313131133.htm
想匹配到 标红 的网址。
我是这么写的,[^s]+/$
但是匹配不到。 测试工具:http://tool.chinaz.com/regex/
一个不知名网友 大佬有话说 :
我都不知道什么是正则表达式,唉,好难受
Mr.Bean 大佬有话说 :
https://baidu.com/.*./
这样么:lol
imsun 大佬有话说 :
Mr.Bean 大佬有话说 : 2020-4-10 22:15
https://baidu.com/.*./
这样么
错。
Mr.Bean 大佬有话说 :
imsun 大佬有话说 : 2020-4-10 22:17
错。
那还是等精通的大佬吧:lol
大师兄 大佬有话说 :
[S]+/$
多行匹配你要勾选“对^$前后换行也支持”,也就是m模式
zxxx 大佬有话说 :
/https://baidu.com/(forum-1/)?$/gm
zxxx 大佬有话说 :
/https://baidu.com(/forum-1)?/$/gm