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
2
IPv6 detection
Created
·
2016-08-15 13:31
Flavor
·
Python
It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.
Submitted by
Ajabep
2
IpAddress
Created
·
2021-01-14 09:00
Flavor
·
Python
Ensure the ip address format is correct
Submitted by
aaa
2
IPv4 Validator
Created
·
2015-09-10 08:17
Flavor
·
Python
no description available
Submitted by
dannyo
1
IPv4 extraction
Created
·
2014-04-04 13:05
Flavor
·
Python
no description available
Submitted by
Jacob
1
IPv4+CIDR(optional)
Created
·
2023-11-22 15:10
Flavor
·
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
1
Verbose Python IP4 Address
Created
·
2016-03-12 12:48
Flavor
·
Python
Verbose IP4 simple address re N.B. You need to ensure that the re is in trebble quotes r""" .... """
Submitted by
Steve (Gadget) Barnes
1
IPv4
Created
·
2022-12-25 15:03
Flavor
·
Python
| Regex | Number | | :----------: | :-----------: | | 1?1-9]?\d | 0-99, 110-199 | | [12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | Some wrong code : 1?\d?\d|2[0-4]\d|25[0-5] and \d{1,2}|1\d\d|2[0-4]\d|25[0-5] both includes 00-09
Submitted by
MicroMicrocosm
1
URL matching with HTTP(s) and IPv4 with Port
Created
·
2019-06-23 22:51
Flavor
·
Python
no description available
Submitted by
anonymous
1
IP4 Address Checker
Created
·
2016-03-12 08:40
Flavor
·
Python
Allows exaclty 4 groups of digits in the range 0..255 seperated by . characters
Submitted by
Steve (Gadget) Barnes
1
Regex to group output of $(ip addr) interface
Created
·
2018-06-21 22:05
Flavor
·
Python
For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part
Submitted by
anonymous
-2
IPv4
Created
·
2015-06-19 13:07
Flavor
·
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
0
IPv4 address with description
Created
·
2016-09-05 18:30
Flavor
·
Python
Match an IPv4 address and its description delimited by a 'newline' paragraph
Submitted by
edoz90
0
IPv6 Regex Match Removal
Created
·
2015-09-03 06:21
Flavor
·
Python
Works for all IPv6 addresses in removing them using regex
Submitted by
vks
0
ipv4
Created
·
2015-06-10 07:56
Flavor
·
Python
no description available
Submitted by
anonymous
0
https://regex101.com/r/lS4dV7/1
Created
·
2015-09-04 05:48
Flavor
·
Python
ipv4 address matching
Submitted by
Unknown
-1
localhost match range ip with port number
Created
·
2015-10-20 13:33
Flavor
·
Python
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-3
IPv4 address
Created
·
2016-04-06 17:12
Flavor
·
Python
Matches any IPv4 address
Submitted by
anonymous
-1
Bluecoat Upstream ipv4-2
Created
·
2016-08-31 01:57
Flavor
·
Python
Log: Bluecoat Event Type: Upstream Ref to Json: "Sources/Bluecoat/ipv4-2
Submitted by
anonymous
0
Find ipv6 subnet
Created
·
2020-10-10 06:45
Flavor
·
Python
This regexp is able to find ipv6 subnets in the compressed form (e.g: 2001:db8::/32). It doesn't perform any validation to the ipv6 addresses itself though.
Submitted by
anonymous
0
match ipv4 dynamic add
Created
·
2023-06-12 14:33
Flavor
·
Python
match ipv4 dynamic add
Submitted by
anonymous
0
Match IPv4 with CIDR mask
Created
·
2023-02-27 08:37
Flavor
·
Python
Parses data to match IPv4 addresses along with CIDR mask.
Submitted by
anonymous
0
Procurar por IPv4
Created
·
2022-06-09 04:19
Flavor
·
Python
Match em um IPv4 válido
Submitted by
anonymous
0
IPv4 Address +/- CIDR Slash Notation
Created
·
2022-01-30 07:01
Updated
·
2023-07-24 11:27
Flavor
·
Python
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
0
ip_adress_ping_regex
Created
·
2021-12-09 16:52
Flavor
·
Python
link to ip_regex
Submitted by
anonymous
0
IPv4 address from text
Created
·
2021-11-07 07:39
Flavor
·
Python
Found in here, stackoverflow url.
Submitted by
anonymous
0
IPv4 matcher
Created
·
2019-01-10 09:27
Flavor
·
Python
find all IPv4 addresses in text
Submitted by
anonymous
0
ipv6 per line
Created
·
2018-04-14 18:31
Flavor
·
Python
ipv6 per line
Submitted by
anonymous
0
ipv4 addresses
Created
·
2022-12-01 17:46
Flavor
·
Python
Valid ip addreses
Submitted by
anonymous
0
IPV6
Created
·
2021-03-02 22:12
Updated
·
2021-03-05 12:43
Flavor
·
Python
no description available
Submitted by
anonymous
0
IPV4
Created
·
2021-03-02 22:12
Updated
·
2021-03-05 12:43
Flavor
·
Python
no description available
Submitted by
anonymous
0
IPV4
Created
·
2020-03-03 19:09
Flavor
·
Python
no description available
Submitted by
anonymous
0
Websites for IPK projekt
Created
·
2020-02-23 13:53
Flavor
·
Python
no description available
Submitted by
anonymous
0
Match actual IPv4 addresses and 3306 port
Created
·
2018-12-09 09:24
Flavor
·
Python
no description available
Submitted by
anonymous
0
Ignore only the IPv4 Network & Broadcast IP's
Created
·
2018-06-08 03:31
Flavor
·
Python
Using two similar sets of /22 IP ranges (192.168.100.1/22 & 192.168.200.1/22); Select all IP's, ignoring only the Network & Broadcast IP's.
Submitted by
Jason
0
ipv4 per line
Created
·
2018-04-14 18:34
Flavor
·
Python
no description available
Submitted by
anonymous
0
lunchgfz IPP extract week number year
Created
·
2018-02-11 17:28
Flavor
·
Python
no description available
Submitted by
anonymous
0
valid - IPv4
Created
·
2017-09-28 14:56
Flavor
·
Python
no description available
Submitted by
tpons
0
valid - IPv4
Created
·
2017-09-28 14:53
Flavor
·
Python
no description available
Submitted by
Tpons
0
IPA Matcher
Created
·
2017-08-02 20:55
Flavor
·
Python
no description available
Submitted by
hakr14
0
Patent Classfication
Created
·
2019-08-07 04:12
Flavor
·
Python
ipc cpc fi
Submitted by
anonymous
0
Patent Classfication
Created
·
2019-08-07 04:12
Flavor
·
Python
ipc cpc fi
Submitted by
anonymous
0
Patent Classfication
Created
·
2019-08-07 04:11
Flavor
·
Python
ipc cpc fi
Submitted by
anonymous
Community Library Entry
0
Regular Expression
Created
·
2021-11-07 07:39
Flavor
·
Python
r"
(?:
^
|
\b
(?<!
\.
)
)(?:
1
?
\d
?
\d
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)(?:
\.
(?:
1
?
\d
?
\d
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
){3}(?=
$
|
[^
\w
.
]
)
"
gm
Open regex in editor
Description
Found in here,
stackoverflow url
.
Submitted by
anonymous