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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 12,000 community submitted regex patterns...
2
English-Hungarian (non-/)obfuscated email adresses
PCRE (PHP <7.3)
Finds email addresses even when cleverly obfuscated in both english and hungarian
Submitted by
WolfyD
-
9 years ago
2
mask the credit card number
PCRE (PHP <7.3)
no description available
Submitted by
vj
-
9 years ago
2
Get consecutive capitalized words
PCRE (PHP <7.3)
"Bank Negara Malaysia", "1Malaysia Development Bhd"
Submitted by
aizu
-
9 years ago
2
5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Any variable between @
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Iranian National Code Pattern
PCRE (PHP <7.3)
Iranian National Code aka Code Melli
Submitted by
Saeed Tabrizi
-
9 years ago
2
IRC protocol global parsing
PCRE (PHP <7.3)
prefix (IRC protocol prefix parsing) command parameters (IRC protocol arguments parsing)
Submitted by
kerosene2000
-
9 years ago
2
1
PCRE (PHP <7.3)
no description available
Submitted by
в
-
9 years ago
2
Maritime Container Number Pattern
PCRE (PHP <7.3)
Pattern for container numbers. Without the digit verification of course.
Submitted by
Philippe Michiels
-
9 years ago
2
contents of square brackets
PCRE (PHP <7.3)
eg. test[test Inner] returns 'test inner'
Submitted by
anonymous
-
9 years ago
2
Version parsing
PCRE (PHP <7.3)
Version parsing from following format: ..build Gets 4 groups: major, minor, build and postfix (last two only of they present in input string) For example: 1.2.3456-SNAPSHOT gets major=1, minor=2, build=3456, postfix="SNAPSHOT"...
Submitted by
Ivkond
-
9 years ago
2
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
9 years ago
2
search script tags
PCRE (PHP <7.3)
found if is content src atributes
Submitted by
Kun Csaba
-
9 years ago
2
GHS - PF LIMIT EXTRACTOR
PCRE (PHP <7.3)
Extracts from a PF file the summary table from the RAH command
Submitted by
anonymous
-
9 years ago
2
RGB [0;255]
PCRE (PHP <7.3)
Color RGB in shape: 255, 255, 255 ',' or ';' are accepted
Submitted by
theBlueBisu
-
9 years ago
2
po box
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
76
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Linux ARP-Table
PCRE (PHP <7.3)
Matches cat /proc/net/arp. It returns the IP, MAC and interface.
Submitted by
anonymous
-
9 years ago
2
Nato Stock Number (Add dashes)
PCRE (PHP <7.3)
Takes a 13 digit non-dashed Nato Stock Number and uses the Substitution to add the dashes in
Submitted by
Matthew Perryman
-
9 years ago
2
Expanded Visual Basic Properties
PCRE (PHP <7.3)
I've been using this regex to get a list of expanded properties (specifically the property names from the 'prop' capture group) from VB code that is used as input in a code converter for a project at work.
Submitted by
Timothy Smith
-
9 years ago
1
...
578
579
580
581
582
...
600
apache access log
3
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
-
-
\[
(
\d
{2}
\/
[
a
-
zA
-
Z
]
{3}
\/
\d
{4}
:
\d
{2}
:
\d
{2}
:
\d
{2}
(
\+
|
\-
)
\d
{4}
)
\]
(
(
\"
(
GET
|
POST
|
HEAD
|
OPTIONS
)
)
(
.
+
)
(
HTTP
\/
1
\.
(
1
|
0
)
"
)
)
(
\d
{3}
)
(
\d
+
)
(
[
"
]
(
(
\-
)
|
(
.
+
)
)
[
"
]
)
(
[
"
]
(
.
+
)
[
"
]
)
/
Open regex in editor
Description
parse the apache access log
Submitted by
pagu
-
8 years ago