Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,920 community submitted regex patterns...
0
TODO comments, with optional `(author):` style author tag postfix capture
ECMAScript (JavaScript)
Capture groups fully cover captured characters with no overlaps, designed for any language with line comments or /, / style block comments. Validation is kept to a reasonable level to avoid high parsing time: Comment context is not validated with lookbehind Parenthesized author name block validat...
Submitted by
disk0
-
4 years ago
0
大寫字母,但非母音
PCRE (PHP <7.3)
大寫字母,但非母音
Submitted by
anonymous
-
4 years ago
0
jmx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
json number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
json string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
0
Поиск .cpp и .h файлов с путями
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
uzolve-module-sequence
ECMAScript (JavaScript)
BPKT-1;BPKR-2;BPRT-1^BPRK-2;MKRK-2
Submitted by
anonymous
-
4 years ago
0
Desktop - User Agent Detection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Mobile.de. Event exp to find different event action data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ntpq parser
Python
no description available
Submitted by
anonymous
-
4 years ago
0
English Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
English Name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
VRay_Next && VRay_5 versions v1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Safari infiltrator.v.1.2.2 by superkiller
PCRE (PHP <7.3)
bugged?,. Im updating it but its not perfect, it will be soon(.n#6); ftw, Any ideas ?? i need to check this through later im tired of being blamed /im leaving these open to answer what you think,. It might be bugged so far
Submitted by
superkiller
-
4 years ago
0
Safari infiltrator.v.1.2.2 by superkiller
PCRE (PHP <7.3)
bugged?,. Im updating it but its not perfect, it will be soon(.n#6); ftw, Any ideas ??
Submitted by
superkiller
-
4 years ago
0
Safari infiltrator.v.1.2.2 by superkiller
PCRE (PHP <7.3)
bugged?,. Im updating it but its not perfect, it will be soon(.n#6); ftw
Submitted by
superkiller
-
4 years ago
0
Remove multiline comment from XML
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
-1
ip4/ip6 capture
PCRE (PHP <7.3)
regex to capture ip4/ip6 addresses with named capture groups. The Following features are included: PHP and python support ip4 byte size check (ensures byte can't exceed 255) ip6 checks if hex characters are valid uses a negative lookbehind to check if the ip is a word on its own...
Submitted by
Meryo
-
4 years ago
0
Cn
PCRE (PHP <7.3)
https://regex101.com/r/vbYmox/1/https:/docs.rs/regex/latest/regex/
Submitted by
anonymous
-
4 years ago
1
...
257
258
259
260
261
...
896
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
(
(?'ip4'
(
\d
{1,3}
\.
){3}
\d
{1,3}
)
|
(?'ip6'
(
(
[
0
-
9a
-
f
]
{1,4}
)?
:
){7}
(
[
0
-
9a
-
f
]
{4}
)?
)
)
/
gm
Open regex in editor
Description
regex to capture ip4/ip6 addresses with named capture groups. The Following features are included:
PHP and python support
ip4 byte size check (ensures byte can't exceed 255)
ip6 checks if hex characters are valid
uses a negative lookbehind to check if the ip is a word on its own
named capture groups to facilitate extraction of either ip4 or ip6
Submitted by
Meryo
-
4 years ago