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 3,800 community submitted regex patterns...
1
Docker image tag with named groups
ECMAScript (JavaScript)
Named groups, port in registry, sha256
Submitted by
petersamokhin with help from https://stackoverflow.com/questions/39671641
-
2 years ago
1
Select Markdown Text and content
ECMAScript (JavaScript)
This expression selects any square brackets and the content inside it. Exemple: [DataTransfer] []...
Submitted by
innnerception
-
2 years ago
1
Function for LScript
ECMAScript (JavaScript)
RegEx for finding function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Function creation in LScript
ECMAScript (JavaScript)
RegEx for finding creation of a function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Function argument in LScript
ECMAScript (JavaScript)
RegEx for finding each argument when creating a function in LScript programming language
Submitted by
anonymous
-
2 years ago
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
0
Email Validation
ECMAScript (JavaScript)
invalid email abc abc.com valid email address abc@mail.com...
Submitted by
anonymous
-
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
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
0
Analyze movie and series episode torrent name
Java 8
Analyze whether the torrent name is a Movie or TV Episode Inspired from https://regex101.com/library/yP4bY4 There is two versions, see differences at the bottom Groups:...
Submitted by
Hot Priest
-
a year ago
(Last modified a year ago)
0
US phone, any standard format
ECMAScript (JavaScript)
Matches any standard, 10-digit US phone number formats
Submitted by
Atkin
-
a year ago
0
Simple CSS selectors
ECMAScript (JavaScript)
Matches all types of CSS selectors
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Regex to Ignore Emoji/Emoticons
ECMAScript (JavaScript)
Regex to Ignore Emoji/Emoticons and allows every character
Submitted by
vishalx06
-
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
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
...
75
76
77
78
79
...
190
Taiwan phone number format
0
Regular Expression
ECMAScript (JavaScript)
/
\(
?
?
(
0
\d
{1,2}
?
)
\)
?
?
(
\s
*
?
|
-
?
?
)
(
\d
{3,4}
(
\s
*
?
|
-
?
?
)
\d
{3,4}
)
/
Open regex in editor
Description
Forked from
https://regex101.com/r/vL1pD2/1
Submitted by
Albert Yu
-
7 years ago