Regular Expressions 101

Sponsors

Library entries

0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 4 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 11 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 11 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 11 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 12 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 13 days ago
0
python

恩更

非法发
Submitted by anonymous - 13 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 14 days ago
0
pcre

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 15 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 15 days ago
0
python

DEPIT INFO

K
Submitted by K - 15 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 15 days ago

IPv4 + TCP-Port

Vote

1

Regular Expression
java

"
^((?:(?:\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(?:\.(?!\:)|)){4})\:(?!0)(\d{1,4}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$
"
g

Description

Loading markdown...
Submitted by SIMULATAN - 4 months ago