Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(http(s)?:[/]{2})?([a-z0-9][a-z0-9\-]+.)+([a-z0-9\-])+
/
g

Description

only WEB URL ex:http://aaa.com.tw https://aaa.com aaa.com aaa.com.tw

Submitted by anonymous - 9 years ago