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 2,100 community submitted regex patterns...
1
Комментарии функции БСП
Python
Комментарии к функциям 1С
Submitted by
binx@mail.ru
-
10 days ago
1
search *user=.*
Python
for ansible regex_search in docker envs
Submitted by
anonymous
-
12 days ago
1
ORCID iD
Python
The ORCID ID (16-digit identifiers) format checker. Reference: Format of the ORCID iD
Submitted by
Ken Lui
-
22 days ago
1
Catch domains
Python
Catch domains from str. Details see TEST STRING
Submitted by
Casey TSui
-
25 days 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
-
2 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
-
2 months ago
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
2 months ago
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
2 months ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
3 months ago
(Last modified 3 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
-
3 months ago
(Last modified 3 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
-
4 months ago
(Last modified 4 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
-
4 months ago
(Last modified 4 months ago)
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
-
4 months ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
5 months ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
5 months ago
1
Voice of the World
Python
Voice of the World Matches lines spoken by the Voice of the World in the web novel Super Gene.
Submitted by
maxludden
-
6 months ago
1
Python logs parser (Airflow)
Python
Parser for individual row of log pattern for parsing row in format: [2023-03-11 00:00:07,377] {taskinstance.py:1088} INFO - Starting attempt 1 where: - time_full: [2023-03-11 00:00:07,377]...
Submitted by
anonymous
-
6 months ago
1
Mediawiki History Dump filenames
Python
Matches filenames of MediaWiki history dumps.
Submitted by
CristianCantoro
-
6 months ago
1
Ateco Code Validation
Python
Ateco Groups Regex to identify the groups that make up the ateco code, based on its structure. More details: https://www.istat.it/it/archivio/17888 Valid Ateco: 01 - 28.2 - 24.45 - 46.74.1 - 46.73.22...
Submitted by
christian dalena
-
7 months ago
1
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
2
3
...
105
Rust Phone Number
1
Regular Expression
Rust
r"
\b
[
(
]
?
(?P<areaCode>
\d
{3}
)
[
)
]
?
[
.-
]
(?P<phone>
\d
{3}
[
.-
]
\d
{4}
)
\b
"
gs
Open regex in editor
Description
not fully featured, but simple.
Submitted by
Jakersnell
-
10 months ago