Regular Expressions 101

Community Patterns

0

分组

ECMAScript (JavaScript)
显示分组
Submitted by Jason - 2 years ago

strip host port

0

Regular Expression
PCRE (PHP <7.3)

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

Description

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