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 12,060 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
-
a year ago
0
Yii regex email validation
PCRE2 (PHP >=7.3)
Extract this regex from EmailValidation.php
Submitted by
Qiang Xue
-
a year 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
-
a year ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
0
Email Validation
PCRE2 (PHP >=7.3)
Validates email
Submitted by
anonymous
-
a year 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
-
a year 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
-
a year ago
0
Test (itay)
PCRE2 (PHP >=7.3)
Test (itay)
Submitted by
Itaye
-
a year ago
0
address
PCRE2 (PHP >=7.3)
address
Submitted by
anonymous
-
a year 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
-
a year ago
0
Filter Vietnamese Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Vietnamese Hashtags in a string
Submitted by
Akali
-
a year ago
(Last modified a year ago)
0
Filter Hashtags and Links in a string
PCRE2 (PHP >=7.3)
Filter Hashtags and Links in a string
Submitted by
Akali
-
a year ago
0
Filter Links in a string
PCRE2 (PHP >=7.3)
Filter Links in a string
Submitted by
Akali
-
a year ago
0
Filter Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Hashtags in a string
Submitted by
Akali
-
a year ago
0
Valid date (DD-MM-YYYY) from 1900 to 2099
Java 8
Valid date (DD-MM-YYYY) from 1900 to 2099
Submitted by
Nevix-Sama
-
a year ago
0
letter-space-number.js
PCRE2 (PHP >=7.3)
Javascript piscine
Submitted by
erik044
-
a year ago
0
Regex Tutorials CodeAmooz.net
PCRE2 (PHP >=7.3)
Regex Tutorials CodeAmooz.net
Submitted by
anonymous
-
a year ago
0
简单日志匹配
Java 8
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
a year ago
0
XTrim
PCRE2 (PHP >=7.3)
Remove spaces at the beginning and end of a sentence. It also replaces N consecutive spaces with a single one.
Submitted by
abrittaf
-
a year ago
0
REGEX yt-dlp ID
PCRE2 (PHP >=7.3)
Get ID from plain text fromm yt-dlp
Submitted by
anonymous
-
a year ago
1
...
38
39
40
41
42
...
603
Valid Link/URL for Event Callbacks
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
http
(
s
?
)
:
\/\/
)?
(
(
(
www
\.
)?
+
[
a
-
zA
-
Z0
-
9
\.\-\_
]
+
(
\.
[
a
-
zA
-
Z
]
{2,3}
)+
)
(
:
[
0
-
9
]
{1,5}
)?
|
(
\b
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\b
)
)
(
:
[
0
-
9
]
{1,5}
)?
(
\/
[
a
-
zA
-
Z0
-
9
\_\-
\s
\.\/\?\%\#\&\=
]
*
)?
$
/
gm
Open regex in editor
Description
Valid Link/URL for Event Callbacks
Submitted by
tim-engnz
-
a year ago