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,040 community submitted regex patterns...
1
match domain, but not www
PCRE2 (PHP >=7.3)
matches domains with or without www, does not include www
Submitted by
anonymous
-
2 years ago
1
dante config
PCRE2 (PHP >=7.3)
generates dante config based on domains
Submitted by
anonymous
-
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
Select songs starting with 3+ numbers but not 1|2
PCRE2 (PHP >=7.3)
Select songs starting with odd numbers like 3+ numbers(001 - song.mp3, 000004 - song.mp3), but not simple ones 1|2 like (01 - song.opus or 1 - song.mp3) : 01 - The Black Eyed Peas - The Time (Dirty Bit).opus 0000000 - Nelly Furtado - Say It Right.mp3 ...
Submitted by
anonymous
-
2 years ago
1
Secret HTML Comment
PCRE (PHP <7.3)
This REGEX can be used for, e.g., PHP scripts to filter out comments that are only important for development.
Submitted by
anonymous
-
2 years ago
1
capitalAfterVowel
PCRE2 (PHP >=7.3)
Given a string, make every consonant after a vowel uppercase.
Submitted by
anonymous
-
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
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
PCRE2 (PHP >=7.3)
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
Submitted by
anonymous
-
2 years ago
1
Unfallversicherung Unternehmensnummer (UNR.S)
PCRE2 (PHP >=7.3)
Unfallversicherung Unternehmensnummer (UNR.S) Dieser reguläre Ausdruck prüft, ob eine mögliche syntaktisch richtige Unternehmensnummer (UNR.S) vorliegt. Eine Unternehmensnummer je Unternehmen ersetzt ab dem 01.01.2023 die vielen Systeme von Mitgliedsnummern bei Berufsgenossenschaften, der Sozialve...
Submitted by
Benjamin Butschko (LOHNunion GmbH)
-
2 years ago
1
smartctl regex
PCRE2 (PHP >=7.3)
Regex for smartctl output
Submitted by
anonymous
-
2 years ago
1
Worse smartctl regex
PCRE2 (PHP >=7.3)
Regex for smartctl output, but worse.
Submitted by
anonymous
-
2 years ago
1
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
2 years ago
1
USA phone matcher
PCRE2 (PHP >=7.3)
Regex for matching usa number like: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555...
Submitted by
Arif
-
2 years ago
1
Date match by CodeZ
PCRE2 (PHP >=7.3)
Matching date patterns for coursera text mining assignment 1.
Submitted by
CodeZ
-
2 years ago
(Last modified 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
-
2 years ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
2 years 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
-
2 years ago
1
searchjsonmutikey
PCRE2 (PHP >=7.3)
jsonmultikey
Submitted by
anonymous
-
2 years ago
1
...
807
808
809
810
811
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
[^
]
*
)
,
\"
(
[^
]
*
)
\"
,
\"
(
[^
]
*
)
\"
,
\"
(
[^
]
*
)
\"
,
\"
(
[^
]
*
)
\"
,
\"
(
[^
]
*
)
\"
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago