Regular Expressions 101

Sponsors

Library entries

0
javascript

define_1

1
Submitted by anonymous - 3 days ago
0
javascript

price with two decimals

test
Submitted by anonymous - 4 days ago
1
javascript

ULID

Match a ULID.
Submitted by Matthew Gibbons (@accuser) - 5 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 - 6 days ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 11 days ago
0
javascript

mydata-collector

it is for regex
Submitted by anonymous - 11 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