Regular Expressions 101

Sponsors

Library entries

0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 13 days ago
0
pcre2

Php

Php
Submitted by Nickname - 13 days ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 15 days ago
0
pcre2

belcorp

test
Submitted by anonymous - 18 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 19 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 20 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 - 5 months ago