Regular Expressions 101

Sponsors

Library entries

0
javascript

Command Usage

a
Submitted by 12944qwerty - 19 days ago
0
python

number two decimal digit

.
Submitted by anonymous - 19 days ago
0
pcre

mvc

com c#
Submitted by anonymous - 24 days ago
0
pcre

test

teste
Submitted by anonymous - 25 days ago
0
javascript

PACCAR VIN trimmer

trin vin from a scanned qr
Submitted by anonymous - a month ago
1
golang

1

11
Submitted by anonymous - a month ago
0
javascript

Simple Macro Extraction from Ad Tag

Submitted by AM - a month ago
0
java

for-orth

For orth
Submitted by gastipatis - a month ago
0
javascript

Şekil sayı'ek

Şekil 1'de Şekil 6.'da Şekil 5'te
Submitted by anonymous - a month ago

IP (v4 and v6) check

Vote

0

Regular Expression
javascript

/
(^([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}$|^([0-9a-fA-F]{1,4}:){6}:(?:[0-9a-fA-F]{1,4}){0,1}$|^([0-9a-fA-F]{1,4}:){5}(?:(:[0-9a-fA-F]{1,4}){1,2}|:)$|^([0-9a-fA-F]{1,4}:){4}(?:(:[0-9a-fA-F]{1,4}){1,3}|:)$|^([0-9a-fA-F]{1,4}:){3}(?:(:[0-9a-fA-F]{1,4}){1,4}|:)$|^([0-9a-fA-F]{1,4}:){2}(?:(:[0-9a-fA-F]{1,4}){1,5}|:)$|^[0-9a-fA-F]{1,4}:(?:(:[0-9a-fA-F]{1,4}){1,6}|:)$|^:((:[0-9a-fA-F]{1,4}){1,7}|:)$)|(^(?:(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])$)
/
ig

Description

Loading markdown...
Submitted by Emanuele Benedetti - 2 months ago