Regular Expressions 101

Library entries

Simple URL Regex

Vote

1

Regular Expression
pcre

/
((https?:\/\/|(ftp:\/\/)).*|(.*\.[^\.]{2,6})(\/.*)?)(\:.*)?$
/
gm

Description

Loading markdown...
Submitted by Adrien H - 6 years ago