Home > OS >  Consult a regular expression (how to access the URL in the last two/between arbitrary string),
Consult a regular expression (how to access the URL in the last two/between arbitrary string),

Time:10-29

Regular rookie for great god:
How to directly obtained via PCRE or sscanf regular expressions in the URL last two slashes/between arbitrary string), forward slash in the URL/number uncertainty, regular C language,
Such as: cc $0 _10; Tt. X + 1 x % @ 3, 00 # 232


http//192.15.120.110:8080/www.xxa.com.cn:80/viiedex/tetsttst/cc$0_10; Tt. X + 1 x % @ 3, 00 # 232/index m3u8? AuthInfo=xxx& Yyy


http//192.15.120.110:8080/www.xxa.com.cn:80/vii/ded/ex/tets/ttst/cc$0_10; Tt. X + 1 x % @ 3, 00 # 232/iplater. Zip