Regular Expressions 101

Library entries

Url with <a> (param) validation

Vote

2

Regular Expression
pcre

/
^((http|https):\/\/)?(www[0-9]\.)?(([A-Za-z0-9_-])+\.{1})+([A-Za-z]{2,4}|\<[^<>]+\>)(\/([A-Za-z0-9_-])+)*(\/)?$
/
mg

Description

Loading markdown...
Submitted by Duleep Dissanayaka - 7 years ago