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,000 community submitted regex patterns...
0
date format
ECMAScript (JavaScript)
relative date format
Submitted by
anonymous
-
2 years ago
0
Floating point and scientific notation regex
PCRE2 (PHP >=7.3)
Matches real/FP numbers which may optionally also include a scientific notation/exponent part.
Submitted by
Kevin Winner
-
2 years ago
0
TAP Result Log issue
.NET 7.0 (C#)
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
2 years ago
(Last modified 2 years ago)
0
dc/i
PCRE2 (PHP >=7.3)
特定の文字移行続く
Submitted by
anonymous
-
2 years ago
0
Print
PCRE2 (PHP >=7.3)
Print
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
FG – VIP details extraction
Python
FG – Extract details of each VIP address from VIP addresses configuration block
Submitted by
anonymous
-
2 years ago
0
Find encoded "&" and extract parts
PCRE2 (PHP >=7.3)
Gets the parts of a url either side of an encoded "&" (as \u0026).
Submitted by
anonymous
-
2 years ago
0
match non-english number beside @
ECMAScript (JavaScript)
im looking for way to much the above title, in reliable way
Submitted by
perymimon
-
2 years ago
0
Extract the subject of the company
PCRE2 (PHP >=7.3)
Extracts the subject of the company from strings extracted from PDF documents. \n represents a line break in the original PDF document.
Submitted by
marr.vinn
-
2 years ago
0
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support all kinds of umlauts.
Submitted by
anonymous
-
2 years ago
0
Enum map to test cases
.NET 7.0 (C#)
.
Submitted by
DenKu1
-
2 years ago
0
enum fields to enum mapping
PCRE2 (PHP >=7.3)
.
Submitted by
DenKu1
-
2 years ago
0
Find more than one word in SQL
PCRE2 (PHP >=7.3)
Finds instances of more than one word in SQL.
Submitted by
Matthew Hiebing
-
2 years ago
0
4 Digits 3 Decimals
PCRE2 (PHP >=7.3)
4 Digits 3 Decimals
Submitted by
anonymous
-
2 years ago
0
12 digit mobile number regex
Python
The regex matches for national or international phone number of up to 15 digits if it includes the country code
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
DétectionMontantBasic
PCRE2 (PHP >=7.3)
Expression pour récupérer la valeur d'un montant sur facture
Submitted by
OurosIgnis
-
2 years ago
0
datetime?
PCRE2 (PHP >=7.3)
Attempt at datetime parsing
Submitted by
anonymous
-
2 years ago
0
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
2 years ago
0
conditional
PCRE2 (PHP >=7.3)
conditional
Submitted by
anonymous
-
2 years ago
0
reset capture
PCRE2 (PHP >=7.3)
reset capture
Submitted by
anonymous
-
2 years ago
1
...
853
854
855
856
857
...
900
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(?:
(
[^
\:
]
*
)
\:\/\/
)?
(?:
(
[^
\:\@
]
*
)
(?:
\:
(
[^
\@
]
*
)
)?
\@
)?
(?:
(
[^
\/\:
]
*
)
\.
(?=
[^
\.\/\:
]
*
\.
[^
\.\/\:
]
*
)
)?
(
[^
\.\/\:
]
*
)
(?:
\.
(
[^
\/\.\:
]
*
)
)?
(?:
\:
(
[
0
-
9
]
*
)
)?
(
\/
[^
\?
#
]
*
(?=
.
*
?
\/
)
\/
)?
(
[^
\?
#
]
*
)?
(?:
\?
(
[^
#
]
*
)
)?
(?:
#
(
.
*
)
)?
/
gm
Open regex in editor
Description
Everything, including proto, user:pass, host, query params and anchors
Submitted by
baadf00d
-
9 years ago