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,300 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
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)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
3
date time
Python
1/Jul/2013 03:27:12
Submitted by
himel
-
11 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
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
7
CSS Import
Python
no description available
Submitted by
anonymous
-
10 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
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
3
Email
Python
Python
Submitted by
anonymous
-
8 years ago
3
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
8 years ago
3
Hostname validation
Golang
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago
1
...
112
113
114
115
Community Library Entry
0
Regular Expression
Python
r"
(?<=
PAGE
\(
)
(?!
990
)
(?P<pg>
[
\d
]
{1,4}
)
|
(?:
(?<=
_r
|
[
\w
]
\(
)
(?P<txt_a>
[
『「“
]
[^
\n
]
+
(?=
_n
\n
)
)
|
(?P<txt_b>
[
『「“
]
.
*
)
)
"
gm
Open regex in editor
Description
Fate stay/night PS Vita version parsing
Submitted by
anonymous
-
a year ago
(Last modified a year ago)