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,100 community submitted regex patterns...
1
semver2.0.0_franenguix
Python
Given a version number MAJOR.MINOR.PATCH, increment the: MAJOR version when you make incompatible API changes. MINOR version when you add functionality in a backward compatible manner. PATCH version when you make backward compatible bug fixes. A pre-release version MAY be denoted by appending a hyp...
Submitted by
FranEnguix
-
a month ago
(Last modified a month ago)
1
GPT multiline equations match
Python
substitutes \[...\] with $$...$$
Submitted by
MyAiTree
-
a month ago
(Last modified a month ago)
1
ChatGPT Equations to MD equations
Python
Substitute the oneliner GPT equations \(..\) to tex like i.e. $..$
Submitted by
MyAITree
-
a month ago
1
Match a^nb^n
Python
Matches some number of a's followed by the same number of b's, usually written as a^nb^n for all natural numbers n. For regular expressions as formally defined in formal language theory, this is impossible, but modern day regex engines can do far more than match just regular languages. Note that eve...
Submitted by
FieryIceStickie
-
2 months ago
1
SVG viewbox parser
Python
for finding and extracting numbers from the viewbox attribute. see also my generalized SVG number regex. v2: added support for scientific notation
Submitted by
riedler
-
2 months ago
(Last modified a month ago)
1
SVG number syntax
Python
for correctly parsing numbers in SVG attributes like path d or viewBox with regex v2: added support for scientific notation
Submitted by
riedler
-
2 months ago
(Last modified a month ago)
1
Telegram username
Python
Validates and obtains the Telegram user's username according to the rules for creating usernames
Submitted by
okineadev
-
2 months ago
(Last modified 2 months ago)
1
Egyptian Phone Numbers regex Checker
Python
To check for Egyptian phone numbers using a regular expression Format of Egyptian phone numbers: It starts with 01 (indicating mobile numbers). Followed by one of the following digits representing the mobile provider: 0 for Vodafone. 1 for Etisalat....
Submitted by
Assem ELQersh
-
2 months ago
1
East pointer, reference and const to west.
Python
just as god intended. "T const" -> "const T"
Submitted by
SpaghettDev
-
3 months ago
(Last modified 3 months ago)
1
Комментарии функции БСП
Python
Комментарии к функциям 1С
Submitted by
binx@mail.ru
-
3 months ago
1
search *user=.*
Python
for ansible regex_search in docker envs
Submitted by
anonymous
-
3 months ago
1
ORCID iD
Python
The ORCID ID (16-digit identifiers) format checker. Reference: Format of the ORCID iD
Submitted by
Ken Lui
-
4 months ago
1
Catch domains
Python
Catch domains from str. Details see TEST STRING
Submitted by
Casey TSui
-
4 months ago
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
5 months ago
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
5 months ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
6 months ago
(Last modified 6 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
-
7 months ago
(Last modified 6 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
-
7 months ago
(Last modified 7 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
-
8 months ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
8 months ago
1
2
3
...
105
Community Library Entry
0
Regular Expression
Python
r"
.
*
\s
+
(
[
A
-
Z
]
{2}
|
[
A
-
Z
]
[
0
-
9
]
|
[
0
-
9
]
[
A
-
Z
]
)
\s
*
(
[
0
-
9
]
{1,4}
)
(
.
*
)
\s
+
(
[
0
-
9
]
{1,2}
\s
*
[^
0
-
9
\s
]
{3,9}
)
,
\s
+
(
[
0
-
2
]
?
[
0
-
9
]
h
[
0
-
5
]
[
0
-
9
]
)
.
*
\s
+
(
[
0
-
2
]
?
[
0
-
9
]
h
[
0
-
5
]
[
0
-
9
]
)
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago