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,220 community submitted regex patterns...
2
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
4 years ago
2
Replace dotnet assembly versions
Python
Replaces both VB & C# AssemblyInfo files.
Submitted by
ankostis
-
3 years ago
(Last modified 3 years ago)
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
3 years ago
2
Zoom links, only with passwords
.NET 7.0 (C#)
Group 1 will have meeting id, group 2 will have password
Submitted by
anonymous
-
2 years ago
2
Mime type parser
.NET 7.0 (C#)
A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as: Type Subtype Subtype's with an extra extension (e.g. svg+xml) (Optional input) Multiple parameters (Optional input)...
Submitted by
Vespion
-
2 years ago
(Last modified 2 years ago)
2
Replace sub-strings in string
.NET 7.0 (C#)
Replace sub-strings in string
Submitted by
anonymous
-
2 years ago
2
Phone number for all countries
.NET 7.0 (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
2 years ago
2
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
2 years ago
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)
2
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
a year ago
(Last modified a year ago)
3
date time
Python
1/Jul/2013 03:27:12
Submitted by
himel
-
11 years ago
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
no description available
Submitted by
anonymous
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
3
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
9 years ago
3
Capture Query Strings
Python
A solution for capture query params.
Submitted by
Rafael Laurindo
-
8 years ago
1
...
107
108
109
110
111
Community Library Entry
10
Regular Expression
Python
r"
(
^
https
?
://
)?
(
\w
+
)?
\.
?
(
reddit
\.
com/
|
redd
\.
it/
)
(
r/
\w
+
/
)?
(
comments/
)?
(
\w
+
)
"
gm
Open regex in editor
Description
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
10 years ago