Regular Expressions 101

Community Patterns

strip host port

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*):\/\/(.*)(:\d+)\/(.*)$
/
gm

Description

Loading markdown...
Submitted by pc - 9 months ago