Regular Expressions 101

Community Patterns

matching url parts

1

Regular Expression
PCRE (PHP <7.3)

/
https?:\/\/(?'host'\S*)\/(?'target'\S*)\/(?'command'\S*)$
/

Description

no description available

Submitted by anonymous - 8 years ago