Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,160 community submitted regex patterns...
1
Door_Double
Created
·
2026-01-27 07:54
Updated
·
2026-01-28 10:27
Flavor
·
Python
Regex for Door_Double
Submitted by
anonymous
1
Python -- Match container image reference parts
Created
·
2026-01-20 02:14
Updated
·
2026-01-20 02:28
Flavor
·
Python
This is a Python RE for matching different parts and combinations of various docker/container image references, as compatible with docker pull etc. Parts / Capture Groups image: # whole image repo: # everything but the tag/digest registry: # host+port host: port: name: # path within registry reference: # tag or digest (with : or @; I haven't bothered to figure out how to strip that yet) tag: digest: If it matches, it should match image, repo, and name at the very least.
Submitted by
neal-ian
1
1
Created
·
2025-12-28 04:09
Flavor
·
Python
554
Submitted by
anonymous
1
AoC 2025 Day 5
Created
·
2025-12-19 23:04
Flavor
·
Python
AoC 2025 Day 5 part 1 but also works for part 2. You just don't need the IDs at the bottom for part 2
Submitted by
anonymous
1
Regex for MusicBrainz Picard Plugin – Title Cleaner OST
Created
·
2025-11-28 16:26
Updated
·
2025-11-28 16:26
Flavor
·
Python
One of the regular expressions I use for my plugin Title Cleaner OST.
Submitted by
nrth3rnlb
1
Posição Dianteira
Created
·
2025-11-21 16:15
Flavor
·
Python
Captura da posição dianteira e suas respectivas variações
Submitted by
Erick Bryan Cubas
1
Cube Voyager Application Headers
Created
·
2025-10-24 05:43
Flavor
·
Python
Matching Cube Voyager Application Files
Submitted by
On Dai Wai
1
dumb email
Created
·
2025-10-17 10:00
Flavor
·
Python
it is a naive email regex
Submitted by
anonymous
1
Ultimate number selecter
Created
·
2025-10-07 02:25
Updated
·
2025-10-07 06:42
Flavor
·
Python
Selects all forms of numbers, ranging from decimals, to numbers with commas
Submitted by
anonymous
1
Convetional commits
Created
·
2025-10-06 13:11
Flavor
·
Python
Convetional commits regex
Submitted by
anonymous
1
Replace last two digits of a four digit number with 99
Created
·
2025-08-14 17:59
Updated
·
2025-08-14 18:00
Flavor
·
Python
Replaces the last two digits of any four digit number with 99. Useful for replacing chart of account codes for accounting software mapping functionalities. Helpful for ProPay.
Submitted by
Eric Higdon
1
URL matching
Created
·
2025-08-07 13:22
Flavor
·
Python
Matches URLs in texts. Forked from https://regex101.com/r/cX0pJ8/1 , then removed matching emails
Submitted by
anonymous
1
email address
Created
·
2025-08-07 13:05
Flavor
·
Python
email address
Submitted by
anonymous
1
Pixiv Profile ID Finder
Created
·
2025-07-18 19:27
Updated
·
2025-07-18 21:15
Flavor
·
Python
This is to find profile ids for pixiv.net
Submitted by
secp192k1
1
Hex Color Validator
Created
·
2025-07-11 15:00
Flavor
·
Python
Verifies whether each input line contains a valid three- or six-digit hexadecimal number, commonly used as color codes in CSS and other technologies. Each number must begin with the "#" sign. I've seen other regexes for this which use individual expressions for a three-digit number and a six-digit number as alternates for each other. I didn't see any reason to repeat the character class twice, so I used only one pattern of three digits, which may appear one or two times. Valid Hex Color Codes #FFF #025 #F0A1FB Invalid Hex Color Codes #fffabg #abcf #12365erff
Submitted by
Mr. Lance E Sloan
1
Chess Algebraic Notation
Created
·
2025-07-07 19:15
Flavor
·
Python
Detects chess Algebraic notation. See: https://en.wikipedia.org/wiki/Algebraic_notation_(chess) Using Regexp groups to know what information is present on the notation (pieces or move disambiguation). Only supported by Flavor that has named group verification.
Submitted by
Johan JANIN
1
RE-24806
Created
·
2025-07-03 11:56
Updated
·
2025-07-09 09:10
Flavor
·
Python
RE-24806
Submitted by
anonymous
1
RE-24812
Created
·
2025-07-03 11:55
Updated
·
2025-07-09 07:56
Flavor
·
Python
RE-24812
Submitted by
anonymous
1
RE-24799
Created
·
2025-07-03 09:36
Updated
·
2025-07-09 09:03
Flavor
·
Python
RE-24799
Submitted by
anonymous
1
RE-24793
Created
·
2025-07-03 09:07
Updated
·
2025-07-09 07:34
Flavor
·
Python
RE-24793
Submitted by
anonymous
Previous page
1
2
3
…
108
Next page
Community Library Entry
0
Regular Expression
Created
·
2019-08-12 13:33
Flavor
·
Python
r"
(
[
B,L
]
C
[
1,2,3
]
-C
[
5,6,7
][
A,E
]
0
[
1,2,4
]
-
\d\d\d
)
|
(
[
B,L
]
C
[
1,2,3
]
-C
[
5,6,7
]
0
[
1,2,4
]
-
\d\d\d
)
|
(
[
B,L
]
C
[
1,2,3
]
-C
[
5,6,7
]
E
[
1,2,5
][
0,5
]
)
|
(
LC3-C5E100
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous