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,620 community submitted regex patterns...
1
URL Parts Extractor
ECMAScript (JavaScript)
Extracts parts of an URL into regex groups: ((?:(?:http|ftp|ws)s?|sftp):\/\/?)?(group 1): extracts the protocol (+\.+|localhost)(group 2): extracts the hostname (:\d+)?(group 3): extracts the port number ((?:\/\w+)\/)?([\w\-.]++)?(groups 4 & 5)*: extracts the path part (+)?(group 6): extracts the qu...
Submitted by
Elie Grenon (elie-g)
-
2 years ago
1
Timestamps
ECMAScript (JavaScript)
Recognizes timestamps with the technical timestamp format.
Submitted by
Alejandro, Andreu
-
2 years ago
(Last modified 2 years ago)
1
Matching CSS Properties
ECMAScript (JavaScript)
CSS Properties
Submitted by
Luidenka
-
2 years ago
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
-
2 years 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
-
2 years 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
-
2 years ago
1
UNC Path Component Validation - Sharename
.NET 7.0 (C#)
There are specific requirements for the different components of a UNC path. While it's possible to try and validate the entire UNC path in one go, you quite often end up needing to break the path down anyway unless simply handing it off to some other library (in which case they should be providing v...
Submitted by
thejamesdecker
-
2 years 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
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
a year ago
1
Regex Card Name - Custom
.NET 7.0 (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
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
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
a year ago
1
date time validation
.NET 7.0 (C#)
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
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
...
90
91
92
93
94
...
281
Mobile No Starts from number 20 or 0 digits and end with 12 digits number
0
Regular Expression
ECMAScript (JavaScript)
/
(
(
^
[
20
]
+
?
\d\d\d\d\d\d\d\d\d\d\d
)
|
(
^
[
0
]
+
?
\d\d\d\d\d\d\d\d\d\d
)
)
/
gm
Open regex in editor
Description
Mobile No Starts from number 20 or 0 digits and end with 12 digits number
Submitted by
Venkata Sandeep
-
6 years ago