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 18,000 community submitted regex patterns...
0
Windows file path regex with root, relative path, and (image) file extension matching.
PCRE2 (PHP >=7.3)
If u want to change the file extension match, just replace : (?:png|jpg|jpeg) by anything u want. Example : (?:txt|pdf) or (?:mp3|ogg) or (?:mp4) or etc...
Submitted by
Holome
-
2 years ago
0
Yii regex email validation
PCRE2 (PHP >=7.3)
Extract this regex from EmailValidation.php
Submitted by
Qiang Xue
-
2 years ago
0
Mail format verification
PCRE2 (PHP >=7.3)
This piece of regex is a simple format verification for email addresses. It accepts only most common email addresses and it favors simplicity over exhaustivity, but should work for 99% of the cases. Based on this Stackoverflow thread : https://stackoverflow.com/a/60137352/14705619
Submitted by
rnorm
-
2 years ago
0
group_path
Python
In my small application we you can give groups matching this expression
Submitted by
shoneg
-
2 years ago
(Last modified 2 years ago)
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
0
Email Validation
PCRE2 (PHP >=7.3)
Validates email
Submitted by
anonymous
-
2 years ago
0
Class C private IP address range
PCRE2 (PHP >=7.3)
https://www.ibm.com/docs/en/networkmanager/4.2.0?topic=translation-private-address-ranges
Submitted by
artdiniz
-
2 years ago
0
Class A private IP address range
PCRE2 (PHP >=7.3)
https://www.ibm.com/docs/en/networkmanager/4.2.0?topic=translation-private-address-ranges
Submitted by
artdiniz
-
2 years ago
0
ClassB private IP address range
ECMAScript (JavaScript)
https://www.ibm.com/docs/en/networkmanager/4.2.0?topic=translation-private-address-ranges
Submitted by
artdiniz
-
2 years ago
0
LinkedIn reaction URL
ECMAScript (JavaScript)
A regular expression pattern to match for LinkedIn reactions (create, delete or update reaction)
Submitted by
celyes
-
2 years ago
0
Test (itay)
PCRE2 (PHP >=7.3)
Test (itay)
Submitted by
Itaye
-
2 years ago
0
address
PCRE2 (PHP >=7.3)
address
Submitted by
anonymous
-
2 years ago
0
在特定位置替换字符
Python
1
Submitted by
anonymous
-
2 years ago
0
Cisco APIC extractions
PCRE2 (PHP >=7.3)
Cisco APIC extractions suitable for using as a field extraction in Splunk
Submitted by
j.P. Pasnak,CD
-
2 years ago
0
NIT Colombia
ECMAScript (JavaScript)
Número de Identificación Tributaria para Colombia 🇨🇴.
Submitted by
anonymous
-
2 years ago
0
Match IPv4 with CIDR mask
Python
Parses data to match IPv4 addresses along with CIDR mask.
Submitted by
anonymous
-
2 years ago
0
Filter Vietnamese Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Vietnamese Hashtags in a string
Submitted by
Akali
-
2 years ago
(Last modified 2 years ago)
0
commitlint gitmoji
ECMAScript (JavaScript)
commitlint to cz-emoji-conventional
Submitted by
anonymous
-
2 years ago
0
Photos18 Url Matcher
Python
A regex to match photos18 urls
Submitted by
anonymous
-
2 years ago
0
Filter Hashtags and Links in a string
PCRE2 (PHP >=7.3)
Filter Hashtags and Links in a string
Submitted by
Akali
-
2 years ago
1
...
72
73
74
75
76
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
#
^
/blog/
(
[
a
-
zA
-
Z
]
{1}
[
a
-
zA
-
Z0
-
9_/-
]
+
)
#
gm
Open regex in editor
Description
redirect old slugs to new
Submitted by
anonymous
-
2 years ago