一个url,如http://xxx/xxx/xx/xx/x/x/xxx/x/xx/xx.html
如何匹配出url中还有某个关键词的介于/和/之间的路径
比如:http://www.abc.com/2d/df/usnsdp_fun/sdkw.html
检索关键词fun,最后匹配出usnsdp_fun(整个url中关键词有且只有一个)
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
/^\/\w+fun\/$/