Regular Expressions 101

Sponsors

Library entries

1
java

IP Address

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

Code Block Splitting

Useful for getting codeblock from a text
Submitted by anonymous - 14 days ago
0
golang

nginx access regex loki

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

mydata-collector

it is for regex
Submitted by anonymous - 16 days ago
0
python

singleTime ztm

ss
Submitted by pochwix2 - 16 days ago
0
python

Contas regex

A simple regex for contas bancárias
Submitted by anonymous - 16 days ago
0
python

Out of

Out of
Submitted by anonymous - 17 days ago
0
javascript

num pattern

a
Submitted by Ibraheem - 19 days ago
0
javascript

regexGetAccount

(Element CI: )\d{4}
Submitted by raphael - 19 days ago
0
javascript

Echo

Usage of named capture group.
Submitted by Abitwhy - 21 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