Regular Expressions 101

Library entries

simple url regex (http,https)

Vote

1

Regular Expression
javascript

/
https?:\/\/(www.)?[a-zA-Z]+(\.[a-zA-Z]+)+(\/(\w|[-_%.#?=&+])+)+
/
g

Description

Loading markdown...
Submitted by Pika - 6 years ago