Regular Expressions 101

Library entries

PHP file path with wrappers

Vote

2

Regular Expression
pcre

/
^(?<wrappers>(?:[[:alpha:]][[:alnum:]]+://)*)(?<root>(?:[[:alpha:]]:/|/)?)(?<path>(?:[[:print:]]*))$
/

Description

Loading markdown...
Submitted by Dragonaire - 7 years ago