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 12,760 community submitted regex patterns...
0
identifying left leading non-letter characters
PCRE (PHP <7.3)
identifying left leading digits and symbols for removal (required for example for cleaning units of measure)
Submitted by
anonymous
-
5 years ago
0
identify left leading dots for removal
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract parts from EDIR naming convention
PCRE (PHP <7.3)
^([A-Z]{4})\-([A-Z]{3})\-([A-Z]{1,7})\-([A-Z]{4})\-(\d{3})$ ^([A-Z]{4})\-([A-Z]{3})\-([A-Z]{1,7})\-([A-Z]{4})\-(\d{3})\([A-Z]{1})\([[:alnum:]])([[:alnum:]]{3})\_([[:alnum:]])([[:alnum:]]{3})$
Submitted by
anonymous
-
5 years ago
0
sdt 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
获取sitemap里面url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Email Address Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VIP 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
sbl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Insert into regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Strip all but a specific substring
PCRE (PHP <7.3)
in this example the substring is Crude Oil
Submitted by
anonymous
-
5 years ago
0
File version number
PCRE (PHP <7.3)
Get filename, version number, extension
Submitted by
anonymous
-
5 years ago
0
thuê bao 11 số
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
EntityFeld
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Simple expression to create information groups
PCRE (PHP <7.3)
0 = not an authorized dealership for the respective brand 1 = authorized dealership for the respective brand
Submitted by
anonymous
-
5 years ago
0
phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Encontrar primeiro nome em CSV
PCRE (PHP <7.3)
Encontre o primeiro nome em um arquivo CSV com múltiplas colunas
Submitted by
anonymous
-
5 years ago
0
Find stuff between brackets
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Datetime different formats
PCRE (PHP <7.3)
Datetime for a different formats
Submitted by
anonymous
-
5 years ago
0
binder news
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Wordless Date Validation
PCRE (PHP <7.3)
Validate and capture different dates without words for example: dd/mm/yyyy, d/m/yy, yyyy-mm-dd, yy-mm-dd
Submitted by
anonymous
-
5 years ago
1
...
177
178
179
180
181
...
638
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
\d
+
[
.,
]
?
(
\d
+
\s
*
k
?
|
x
{2,3}
)
(?=
\s
*
(
original
|
actual
|
highway
)?
\s
*
miles
)
|
(?<=
mile
(
s
|
agex
?
)
:
?
\s
*
(
is
|
~
)?
\s
*
)
\d
+
[
.,
]
?
(
\d
+
(
\s
*
k
)?
|
x
{2,3}
)
|
(
\d
+
(
\s
*
K
)
|
x
{2,3}
)
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago