Regular Expressions 101

Sponsors

Library entries

1
javascript

1

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

Website URL

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

magnet

Extract magnet links
Submitted by Peng - 7 years ago
0
javascript

test

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

parse array to object p1

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

dd-mm-yyyy

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

Alpha + Underscore

no description available
Submitted by Sergio de la Garza - 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