Regular Expressions 101

Sponsors

Library entries

1
javascript

Singapore Phone

no description available
Submitted by anonymous - 7 years ago
1
javascript

-

hjk
Submitted by hjk - 7 years ago
1
javascript

E-mail validation

ab@ab
Submitted by anonymous - 7 years ago
1
javascript

Validation

no description available
Submitted by Robin Venneman - 7 years ago
1
javascript

get bendon link

no description available
Submitted by Emin - 7 years ago
1
javascript

match non-alphanumeric in string

no description available
Submitted by anonymous - 7 years ago
1
javascript

Date 01

no description available
Submitted by anonymous - 7 years ago
1
javascript

123

fsd
Submitted by fds - 7 years ago
1
javascript

Domain Regex (line start)

no description available
Submitted by anonymous - 7 years ago
1
javascript

get rid of hash tag

no description available
Submitted by LittlePiggy - 7 years ago
1
javascript

date Format

no description available
Submitted by anonymous - 7 years ago

URL that allows IP

Vote

1

Regular Expression
javascript

/
^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$
/
i

Description

Loading markdown...
Submitted by anonymous - 7 years ago