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 18,020 community submitted regex patterns...
0
image_yandex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
qwe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DML_Actions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Song title and lyrics ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
get only chapter titles
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Group capturing dynatrace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Bank Account Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
in line $ $ (latex equation)
Python
no description available
Submitted by
anonymous
-
6 years ago
0
password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Domain Grabber
PCRE (PHP <7.3)
Grabs the domain of a url
Submitted by
anonymous
-
6 years ago
0
subdomain Grabber
PCRE (PHP <7.3)
Gets the subdomain in a url
Submitted by
anonymous
-
6 years ago
0
phone number grabber
PCRE (PHP <7.3)
get's a phone number with any type of writing
Submitted by
anonymous
-
6 years ago
0
solution3-ece590.06
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Bilhete Globo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DSN Parser
PCRE (PHP <7.3)
Parser for DSN. Used in PHP PDO MySQL configuration.
Submitted by
anonymous
-
6 years ago
0
Bilhetes Sulamerica Avaya
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Capture width value of svg tag.
PCRE (PHP <7.3)
Captures the width value of a single SVG tag.
Submitted by
anonymous
-
6 years ago
0
Second part of two part name
PCRE (PHP <7.3)
Used this in the DETECT pilot study to pull apart first names that had two parts (e.g., mary jo).
Submitted by
anonymous
-
6 years ago
0
First part of two part name
PCRE (PHP <7.3)
Used this in the DETECT pilot study to pull apart first names that had two parts (e.g., mary jo).
Submitted by
anonymous
-
6 years ago
0
Optional decomposition
PCRE (PHP <7.3)
Find optional decomposition in codebase
Submitted by
anonymous
-
6 years ago
1
...
123
124
125
126
127
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(
[
A
-
Z
]
{2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{1,2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
A
-
Z
]
{0,3}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{4}
)
\b
/
gi
Open regex in editor
Description
lenient validator (for transformation)
/\b([A-Z]{2})[^A-Z0-9]*?([0-9]{1,2})[^A-Z0-9]*?([A-Z]{0,3})[^A-Z0-9]*?([0-9]{4})\b/i
Matches 4 groups like:
RJ
02
FG
5343
Will match:
RJ03QH3918
RJ 03QH 3918
RJ-03-QH-3918
MP,,,03-QH3998
Will not match:
MP,,01,03-QH3998
MP03QH399998
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)