Regular Expressions 101

Sponsors

Library entries

Valid URL RegEx

Vote

1

Regular Expression
pcre

/
^https?:\/\/(?!localhost)[\.\w\d]{2,}
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago