Regular Expressions 101

Library entries

subdomain catcher

Vote

0

Regular Expression
javascript

/
^(https?:\/\/)?([a-zA-z0-9]+)(\.[a-zA-z0-9]+)+(:[1-9][0-9]*)?\/.*$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago