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 2,640 community submitted regex patterns...
1
E-mail validation regex
Python
For Culver City Learn Teach Code 4/16/24 Regex obtained from: https://stackoverflow.com/a/21608456/2683447 List is subset taken from: https://gist.github.com/cjaoude/fd9910626629b53c4d25
Submitted by
anonymous
-
6 months ago
1
Госуслуги - сопроводительное письмо (недопустимые символы)
.NET 7.0 (C#)
Если вы подаёте электронное заявление через портал Госуслуг и набираете текст в стороннем редакторе, то при попытке отправить такое заявление может появиться ошибка о наличии недопустимых символов. С помощью этого регулярного выражения вы сможете найти недопустимые символы и скорректировать текст с...
Submitted by
NG256
-
6 months ago
1
"fake" markdown link detection
Rust
This regex catches markdown links where the display text is also a link, like this: \example.com in order to prevent people getting tricked and clicking on a link that isn't what it says it is. See the test string for a much longer explanation with examples.
Submitted by
Osh
-
5 months ago
(Last modified 5 months ago)
1
Date and age matcher
Python
matches strings like: "01/04/2023", "14/May/24" and "20" (age). WARNING: for american dates swap day and month! Groups: Date - the whole date Day - day Month - month...
Submitted by
OlgPok
-
5 months ago
(Last modified 5 months ago)
1
Entity framework mappers
.NET 7.0 (C#)
This expression converts a modelbuilder to an IEntityTypeConfiguration class. Useful for tidying up the result of a scaffold operation.
Submitted by
MK
-
5 months ago
(Last modified 5 months ago)
1
password
.NET 7.0 (C#)
password validator
Submitted by
anonymous
-
5 months ago
1
Distinguish torrent files (series vs movies) with episode numbers
Python
a modified verison of this awesome regex https://regex101.com/library/yP4bY4 by author firas dib that includes a capture group for episode numbers in addition to season numbers.
Submitted by
SethMacKayChandler
-
5 months ago
(Last modified 5 months ago)
1
YouTube Video ID
Java 8
Gets the ID of a YouTube Video from any link to it.
Submitted by
cheeseburger
-
5 months ago
1
Email Validation
.NET 7.0 (C#)
Basic email address validation example
Submitted by
Jeff Mills
-
4 months ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
4 months ago
(Last modified 4 months ago)
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
4 months ago
1
Multiline CSS to one line CSS example (C#)
.NET 7.0 (C#)
Regex that will match/replace unnecessary whitespaces in CSS code.
Submitted by
Puchkov Eugene
-
4 months ago
(Last modified 4 months ago)
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
4 months ago
1
JS/TS imports of external dependencies
Rust
This regex can be used on a JavaScript/TypeScript file to find imports from third-party packages. This is useful for determining what to put in dependencies/peerDependencies. This is a Rust regex, which makes it easy to use with rg (ripgrep). Pro tip: combine rg with sort -u to get a list of all pac...
Submitted by
Nikita Karamov
-
4 months ago
1
Discord Server Invite, Rust RegEx
Rust
A regular expression for Rust that matches against Discord server invite URLs, but not those without an actual code present. This may be used in Discord's AutoMod feature as it supports up to 10 Rust regular expressions per custom rule.
Submitted by
sepruko
-
3 months ago
1
Catch domains
Python
Catch domains from str. Details see TEST STRING
Submitted by
Casey TSui
-
2 months ago
1
IP address without local
.NET 7.0 (C#)
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
2 months ago
1
ORCID iD
Python
The ORCID ID (16-digit identifiers) format checker. Reference: Format of the ORCID iD
Submitted by
Ken Lui
-
2 months ago
1
.NET CSV parser
.NET 7.0 (C#)
Parses CSV files using comma (,) as delimiter and double quote (") as quoted-field tag. Features: Respects empty fields, including at the beginning and at the end of the line Respects line breaks in quoted fields
Submitted by
kevinhp
-
2 months ago
1
search *user=.*
Python
for ansible regex_search in docker envs
Submitted by
anonymous
-
2 months ago
1
...
124
125
126
127
128
...
132
Community Library Entry
10
Regular Expression
Python
r"
{
(
[^
{}
]
*
)
\|
album}
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago