Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among community submitted regex patterns...
0/512
1
IPv4 + TCP-Port
Created
·
2022-01-12 07:59
Flavor
·
Java
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-1
IPv4 Matcher
Created
·
2021-03-24 16:23
Flavor
·
Java
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
0
IP Address Validator
Created
·
2022-08-03 20:30
Flavor
·
Java
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
Community Library Entry
2
Regular Expression
Created
·
2015-09-10 08:17
Flavor
·
Python
r"
^
(
(
[
0
-
9
]
|
[
1
-
9
][
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
][
0
-
9
]
|
25
[
0
-
5
]
)
\.
){3}(
[
0
-
9
]
|
[
1
-
9
][
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
][
0
-
9
]
|
25
[
0
-
5
]
)
$
"
Open regex in editor
Description
no description available
Submitted by
dannyo