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 11,440 community submitted regex patterns...
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
1
Only letters, accents and space
Python
Regex that catches everything that is not text (including emotes)
Submitted by
https://www.linkedin.com/in/devfabriciors/
-
2 years ago
1
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
2 years ago
1
Only if before
PCRE (PHP <7.3)
Only if needle is before target
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
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
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
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
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
2 years ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
2 years ago
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
2 years 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
-
2 years ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
2 years ago
1
auto-gpt- parse system cmd
Python
auto-gpt- parse system cmd
Submitted by
anonymous
-
2 years ago
1
Get python function declaration
Rust
Gets the python function declarations
Submitted by
anonymous
-
2 years 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)
-
2 years ago
1
all instagram regex
PCRE (PHP <7.3)
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
2 years ago
1
Phrase enclosed case insensitive
.NET 7.0 (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
2 years ago
1
ENEL T5 Mono
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
2 years ago
1
...
522
523
524
525
526
...
572
Community Library Entry
-1
Regular Expression
Python
r"
(
\A
|
\s
)
#
(
\w
+
)
"
g
Open regex in editor
Description
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago