Regular Expressions 101

Sponsors

Library entries

0
javascript

multicast

.
Submitted by anonymous - 2 days ago
0
javascript

define_1

1
Submitted by anonymous - 7 days ago
0
javascript

price with two decimals

test
Submitted by anonymous - 7 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 8 days ago
1
java

IP Address

(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by anonymous - 9 days ago

URL Validation JS

Vote

0

Regular Expression
javascript

/
^(?:ftp|https?):\/\/(?!$|0\.0\.0\.0)(?:(?:(?:1?\d\d?|2[0-4]\d|25[0-5])(?:\.(?!$))?){4}|(?:[a-z\d]\.|[a-z\d](?:(?![-.]{2})[a-z\d-]){0,63}?[a-z\d]\.){1,63}?[a-z]{2,63})(?:[:/].*?)?$
/
gmi

Description

Loading markdown...
Submitted by Artur - a month ago