深夜在线球大神帮我写个百度正则表达式,万分感谢!
辛辛苦苦有点起色的二级域名在腾讯系app打不开,只能换主域名了。之前百度收录的都打不开了。这里是百度官方的正则表达说明https://ziyuan.baidu.com/college/courseinfo?id=267&page=5#h2_article_title22
我之前的url是
http://m.xxx.com/jobs/show/id/1399.html
我现在的url是
http://www.xxx.com/mobile/jobs/show/id/1399.html
球大佬帮我写个如下要求的正则,万分感谢!
这样?
http://m.xxx.com/jobs/show/id/(\d+).html
http://www.xxx.com/mobile/jobs/show/id/${1}.html
或者
http://m.xxx.com/(\w+)/(\w+)/(\w+)/(\d+).html
http://www.xxx.com/mobile/${1}/${2}/${3}/${4}.html
blanco 发表于 2019-3-17 01:37
这样?
http://m.xxx.com/jobs/show/id/(\d+).html
http://www.xxx.com/mobile/jobs/show/id/${1}.html
不管对不对,谢谢大佬。万分感谢!
页:
[1]