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 11,520 community submitted regex patterns...
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
2 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
-
2 months ago
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
a month 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
-
a month ago
(Last modified a month 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
-
a month ago
(Last modified 25 days ago)
1
YouTube Video ID
Java 8
Gets the ID of a YouTube Video from any link to it.
Submitted by
cheeseburger
-
23 days ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
4 days ago
(Last modified 4 days ago)
2
MIME type verification
PCRE (PHP <7.3)
See http://tools.ietf.org/html/rfc2045#section-5.1
Submitted by
Erin Millard
-
11 years ago
2
js function test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Split Date
PCRE (PHP <7.3)
no description available
Submitted by
Arun Kumar Sekar
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
10 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
10 years ago
2
code bracket parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
the the
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Episode numbering below 100
PCRE (PHP <7.3)
Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.
Submitted by
SEKCobra
-
10 years ago
1
...
546
547
548
549
550
...
576
Password Validation
0
Regular Expression
Python
r"
(
(?=
\S
*
?
[
A
-
Z
]
)
(?=
\S
*
?
[^
\w\s
]
)
(?=
\S
*
?
[
a
-
z
]
)
(?=
\S
*
?
[
0
-
9
]
)
.
{8,}
)
\S
"
gm
Open regex in editor
Description
8 char 1 special char 1 number char 1 lower char 1 upper char
Submitted by
you
-
2 years ago
(Last modified 2 years ago)