Regular Expressions 101

Sponsors

Library entries

0
pcre2

Indain phone number

Indain phone number
Submitted by anonymous - 16 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 17 days ago
0
javascript

Parse Rx DataMatrix

Parse Rx DataMatrix
Submitted by hoangitk - 17 days ago
0
pcre2

Verify email

test email
Submitted by Digimusen - 17 days ago
1
pcre2

Recognize Bosch partnumber

partsnumber validate
Submitted by Digimusen - 17 days ago
0
javascript

CMake problem matcher

CMake problem matcher
Submitted by anonymous - 18 days ago
0
python

Project

Project
Submitted by anonymous - 18 days ago
0
pcre2

php socket

validates a php socket string
Submitted by anonymous - 18 days ago
0
pcre2

BankPostingInvoiceNumber

Get Invoice Number
Submitted by Diego Riva - 18 days ago
0
pcre2

BankPostingMiddle

Get Middle Value From Invoice Text
Submitted by Diego Riva - 18 days ago
0
javascript

quizlet link extract

fg
Submitted by anonymous - 19 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