Regular Expressions 101

Sponsors

Library entries

0
javascript

quizlet link extract

fg
Submitted by anonymous - 13 days ago
0
javascript

quizlet data extract

.
Submitted by anonymous - 14 days ago
1
python

surnames

italian uppercase surnames
Submitted by anonymous - 18 days ago
0
python

AyL

Example of re and substitutions with csv file
Submitted by Ing Daniel Pérez - 18 days ago
0
javascript

Command Usage

a
Submitted by 12944qwerty - 20 days ago
0
python

number two decimal digit

.
Submitted by anonymous - 20 days ago

IPv6 CIDR Validator

Vote

1

Regular Expression
javascript

/
(?:(?:(?:[A-F0-9]{1,4}:){6}|(?=(?:[A-F0-9]{0,4}:){0,6}(?:[0-9]{1,3}\.){3}[0-9]{1,3}(?![:.\w]))(([0-9A-F]{1,4}:){0,5}|:)((:[0-9A-F]{1,4}){1,5}:|:)|::(?:[A-F0-9]{1,4}:){5})(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}|(?=(?:[A-F0-9]{0,4}:){0,7}[A-F0-9]{0,4}(?![:.\w]))(([0-9A-F]{1,4}:){1,7}|:)((:[0-9A-F]{1,4}){1,7}|:)|(?:[A-F0-9]{1,4}:){7}:|:(:[A-F0-9]{1,4}){7})(?![:.\w])\/(?:12[0-8]|1[01][0-9]|[1-9]?[0-9])
/
gmi

Description

Loading markdown...
Submitted by anonymous - 2 months ago