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...
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
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
2
Logix Designer tag operand
PCRE (PHP <7.3)
Locates valid Logix Designer tag operands
Submitted by
anonymous
-
9 years ago
2
FEN Regex
PCRE (PHP <7.3)
This will match an FEN string (https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation). It is not strict in having each rank separated by a '\' character, although it is strict in the order of characters for the Castling section. Anything not following the order of KQkq in the case where cas...
Submitted by
NazarioJL
-
9 years ago
2
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
2
Match a specific CSV field.
PCRE (PHP <7.3)
Fields terminated by ';' even if the fields are surrounded by " does not accept newlines. Change the central qualifier to get the column. if you want the Xth field write X-1 and use the 3° mathing group OR write X and use the 2° match.
Submitted by
anonymous
-
9 years ago
2
kasd; fk.!@#$%^&*()*()%^&*()_
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
mystem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservations_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
sun_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
868
869
870
871
872
...
900
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago