Regular Expressions 101

Sponsors

Library entries

0
javascript

multicast

.
Submitted by anonymous - 3 days ago
0
javascript

define_1

1
Submitted by anonymous - 8 days ago
0
javascript

price with two decimals

test
Submitted by anonymous - 8 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 9 days ago
0
python

Code Block Splitting

Useful for getting codeblock from a text
Submitted by anonymous - 14 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