Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,180 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Get ip address (only ipv4) Validator
.NET (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
10 months ago
2023-02-20 18:43
(Last modified 9 months ago)
2023-02-21 12:05
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Aus Mobile number
.NET (C#)
validates against multiple common formats
Submitted by
anonymous
-
9 months ago
2023-03-20 06:22
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
URL Regex
.NET (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
5 months ago
2023-07-06 08:43
(Last modified 5 months ago)
2023-07-06 08:45
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
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
-
4 months ago
2023-07-23 15:57
(Last modified 4 months ago)
2023-07-24 15:49
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Placeholder resolving
.NET (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
2 months ago
2023-10-07 19:39
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
lottery data picker
Python
for azlottoapi
Submitted by
anonymous
-
3 years ago
2020-12-28 20:55
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
3 years ago
2021-01-14 09:00
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Replace dotnet assembly versions
Python
Replaces both VB & C# AssemblyInfo files.
Submitted by
ankostis
-
2 years ago
2021-06-30 10:48
(Last modified 2 years ago)
2021-06-30 13:04
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
2 years ago
2022-02-02 23:27
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
2 years ago
2022-02-20 11:15
1
14 upvotes, 13 downvotes (score 34%) (You must be signed in to vote)
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
9 years ago
2014-06-20 07:18
2
7 upvotes, 5 downvotes (score 32%) (You must be signed in to vote)
postgesql
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-08-11 09:45
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
10 years ago
2014-04-18 16:57
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
10 years ago
2014-05-19 18:38
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
python regex
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-09-05 20:18
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-11-28 04:37
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
9 years ago
2015-04-16 23:13
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
8 years ago
2015-09-10 08:17
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
SED
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-11-12 15:42
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Mime type parser
.NET (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
-
10 months ago
2023-02-14 14:11
(Last modified 10 months ago)
2023-02-14 16:03
1
2
3
4
5
6
7
...
109
Python regular expression to detect any type of group link and private channel in Telegram
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
Python
r"
(?i)
(
https
\:\/\/
){1}
(
(
t
\.
me
|
telegram
\.
me
)
\/
){1}
(
joinchat
\/
)?
(
(
[
\+\_\-
a
-
zA
-
Z0
-
9
]
)+
)
$
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
Telegram : T.me/TinyPY
-
4 months ago
2023-07-23 15:57
(Last modified 4 months ago)
2023-07-24 15:49