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,820 community submitted regex patterns...
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
-
2 months ago
(Last modified a month ago)
1
YouTube Video ID
Java 8
Gets the ID of a YouTube Video from any link to it.
Submitted by
cheeseburger
-
a month ago
1
Email Validation
.NET 7.0 (C#)
Basic email address validation example
Submitted by
Jeff Mills
-
a month ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
24 days ago
(Last modified 24 days ago)
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
14 days 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
-
11 days ago
(Last modified 11 days ago)
1
Automod - Discord scam invitations
PCRE (PHP <7.3)
Matches variations of messages commonly used to send Discord scams/hacks. Instructions are written for YAGPDB
Submitted by
paiuxfluens
-
9 days ago
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
8 days ago
1
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Match US Currency Amount
PCRE (PHP <7.3)
Group 1 has dollar amount with or without commas, Group 4 has optional cents.
Submitted by
anonymous
-
10 years ago
1
erferf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
match hyphen between quotes
PCRE (PHP <7.3)
no description available
Submitted by
cetanu
-
10 years ago
1
Find common version names in filenames
PCRE (PHP <7.3)
no description available
Submitted by
Jared
-
10 years ago
1
Replaces odd number of quotes with even number of quotes.
PCRE (PHP <7.3)
no description available
Submitted by
ingredient_15939
-
10 years ago
1
Divisible by 3 numbers
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
10 years ago
1
parse SQL statements and get values
PCRE (PHP <7.3)
but it does not work. How do I make it work? It will be used in C#
Submitted by
anonymous
-
10 years ago
1
css all comments
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
1
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
10 years ago
1
CEF Pipe and Space Delimited Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Facebook Video ID from link
PCRE (PHP <7.3)
Matches the video id in FB links
Submitted by
Eirenaios
-
10 years ago
1
...
546
547
548
549
550
...
591
Facebook Video ID from link
1
Regular Expression
PCRE (PHP <7.3)
/
facebook
\.
com
\/
(?:
photo
.
php
\?
v=
|
video
\/
embed
\?
video_id=
|
v
\/
?
)
(
\d
+
)
/
gi
Open regex in editor
Description
Matches the video id in FB links
Submitted by
Eirenaios
-
10 years ago