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,420 community submitted regex patterns...
2
IPv4 with an undefined amount of 0 before every number
PCRE (PHP <7.3)
This regex matches every IPv4 address with or without 0s before every number. For example: 192.168.1.1 00000000000192.168.00000000000001.01
Submitted by
anonymous
-
4 years ago
2
lottery data picker
Python
for azlottoapi
Submitted by
anonymous
-
3 years ago
2
Simple Best URL Regex Match
PCRE (PHP <7.3)
Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms Regex Matches All Below and more: https://example.domain http://example.domain...
Submitted by
anonymous
-
3 years ago
2
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
3 years ago
2
Почти идеальный фильтр матов
PCRE (PHP <7.3)
Поиск матов в тексте
Submitted by
anonymous
-
3 years ago
2
Persian Mobile Number
PCRE (PHP <7.3)
Persian Mobile Number Matching Iran's international phone code is +98 and sometimes people use 0098. All mobile numbers starts with 9 after the code. So this pattern matches exactly a sequence of characters which starts with one of +989, 0098 or 09 prefixes and total count of characters after thes...
Submitted by
anonymous
-
3 years ago
2
Poker Hand type
PCRE (PHP <7.3)
Detect the poker hand from a sorted hand like this: with the figures and numbers sorted in descending order
Submitted by
ZeNairolf
-
3 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
-
2 years ago
2
regex101.com id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink to code.
Submitted by
Sasha Garan
-
2 years ago
(Last modified 2 years ago)
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
2 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
Good enough IPv6
PCRE (PHP <7.3)
A good enough approximation to IPv6 based on the examples at https://www.ibm.com/docs/en/ts3500-tape-library?topic=functionality-ipv4-ipv6-address-formats
Submitted by
mig8447
-
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
-
a year ago
(Last modified a year ago)
2
Replace sub-strings in string
.NET 7.0 (C#)
Replace sub-strings in string
Submitted by
anonymous
-
a year ago
2
Phone number for all countries
.NET 7.0 (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
a year ago
2
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
a year ago
(Last modified a year ago)
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
a year 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 10 months ago)
1
...
556
557
558
559
560
...
571
Aus Mobile number
2
Regular Expression
.NET 7.0 (C#)
@"
^
(
(
\+
?
(
61
\W
?
4
)
)
|
(
04
)
)
\W
?
(
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{3}
\W
[
0
-
9
]
{3}
)
|
(
[
0
-
9
]
{8}
)
|
(
[
0
-
9
]
{4}
\W
[
0
-
9
]
{4}
)
|
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{6}
)
)
$
"
Open regex in editor
Description
validates against multiple common formats
Submitted by
anonymous
-
a year ago