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 5,700 community submitted regex patterns...
1
Email with special characters
ECMAScript (JavaScript)
Built using this specification
Submitted by
studium-inexorabile
-
2 years ago
1
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support umlauts.
Submitted by
StephanGeorg
-
2 years ago
1
Conventional Commits RegEx
Python
This RegEx can be used to check whether a string (usually a commit message) matches the structure specified in the conventional commits specification and it allows to retrieve the sections of the structure via. named groups. The groups are the following: (? means, that this can be empty/nullable) ...
Submitted by
mccoderpy
-
a year ago
1
IPv4
Python
| Regex | Number | | :----------: | :-----------: | | 1?[1-9]?\d | 0-99, 110-199 | | 12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | ...
Submitted by
MicroMicrocosm
-
a year ago
1
Match last repetition and remove it
ECMAScript (JavaScript)
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
a year ago
1
Extract email username from email address
ECMAScript (JavaScript)
This workspace contains the needed ECMAScript regex for use in Cloudflare Workers Email Routing.
Submitted by
~ajhalili2006
-
a year ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
a year ago
1
Match typescript filenames excluding .d.ts files
ECMAScript (JavaScript)
Match typescript filenames excluding .d.ts files This RegExp matches, ts tsx...
Submitted by
@yumyum-web
-
a year ago
1
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
a year ago
(Last modified a year ago)
1
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
a year ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
1
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a year ago
1
phones
ECMAScript (JavaScript)
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a year ago
1
Catch multiline escaped text between quotes
ECMAScript (JavaScript)
Catch multiline escaped text between quotes: Catch quotes It is a functional component...
Submitted by
David Blanchard
-
a year ago
(Last modified a year ago)
1
Capture URL without Query Parameters
ECMAScript (JavaScript)
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
a year ago
1
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data)
ECMAScript (JavaScript)
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data) https://regex101.com/library/F21Glr Matches only (and every) UTC offset that is in actual use and valid under ISO 8601 and RFC 3339 (Y'know, the '2008-08-08T08:08:08+05:00' looking one, this is the plus/min...
Submitted by
Philip Flip Kromer
-
a year ago
1
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
ECMAScript (JavaScript)
This will match all four-digit years that are leap years, using the "either (multiple of four but not a multiple of 100) OR (multiple of 400)" rule. Explained / ^(...
Submitted by
Philip Flip Kromer
-
a year ago
1
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
a year ago
1
...
250
251
252
253
254
...
285
Timestamps
1
Regular Expression
ECMAScript (JavaScript)
/
(?<year>
\d
{4}
)
-
(?<month>
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(?<day>
0
[
1
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
9
]
|
3
[
0
-
1
]
)
T
(?<time>
(?:
[
0
-
1
]
[
0
-
9
]
|
2
[
0
-
3
]
)
:
[
0
-
5
]
[
0
-
9
]
:
[
0
-
5
]
[
0
-
9
]
(?:
.\d
{3}
)?
)
(?<timezone>
Z
|
[
\+\-
]
(?:
0
[
1
-
9
]
|
1
[
0
-
2
]
)
:
(?:
00
|
15
|
30
|
45
)
)
/
gm
Open regex in editor
Description
Recognizes timestamps with the technical timestamp format.
Submitted by
Alejandro, Andreu
-
2 years ago
(Last modified 2 years ago)