阅读背景:

正则表达式按字符和捕获分割

来源:互联网 

I'm looking for a regular expression to split and capture a url path eg with example.com/param1/param2/param3 I would like param1, param2 and param3 to be captured. There could be an unknown number of parameters. This will be used with PHP's preg_match. Can this be done?I'm looking for a regular expression to split a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: