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,040 community submitted regex patterns...
2
bye
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
LUN UID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
END on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Parse Cabrillo Amateur Radio Log Record
PCRE (PHP <7.3)
no description available
Submitted by
NY4I
-
9 years ago
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
9 years ago
2
css class finder
PCRE (PHP <7.3)
این عبارت منظم یک کلاس سی اس اس را پیدا می کند
Submitted by
ehsan abbasi
-
9 years ago
2
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Regex to find if/while constructs
PCRE (PHP <7.3)
Find if/while in JS code written in PCRE
Submitted by
Deepak Subramanian
-
9 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Password Validation
Python
Checks for password containing at least 1 Upper case, 1 lower case, 1 digit and 1 special character, all together with a length of at least 8. (This pattern allows any order of the requried elements, other than what was been distributed here before)
Submitted by
Tom Spielvogel
-
9 years ago
2
Bitstream with not more than 4 repeating bits
PCRE (PHP <7.3)
0111100 will be matched whereas 0111110 will not. Change \1{4} to max repeating count. For max 9 repeating -> \1{9}
Submitted by
anonymous
-
9 years ago
2
ukrainian alphabet
PCRE (PHP <7.3)
no description available
Submitted by
benderlio
-
9 years ago
2
Date or N/A
ECMAScript (JavaScript)
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
9 years ago
2
string contains
PCRE (PHP <7.3)
no description available
Submitted by
mgaus
-
9 years ago
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Email Cleanup
PCRE (PHP <7.3)
Working on email link cleanup.
Submitted by
anonymous
-
9 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
9 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Observatorio do Trabalho
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
868
869
870
871
872
...
902
Community Library Entry
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
\.\/\?\%\#\&\=
]
*
)?
$
/
Open regex in editor
Description
Used to Validate a callback or link
Submitted by
tim
-
2 years ago