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,020 community submitted regex patterns...
1
Parse drupal version info from filename
PCRE (PHP <7.3)
no description available
Submitted by
Jason Smith
-
11 years ago
11
Date(Including Leap Year) YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
Validates DateTime of format YYYY-MM-DD hh:mm:ss including Leap Year
Submitted by
Madhan
-
11 years ago
-2
Match v4 IP address
PCRE (PHP <7.3)
no description available
Submitted by
Budiony Damyanov
-
11 years ago
4
Hungarian ANDOK system id
PCRE (PHP <7.3)
no description available
Submitted by
Tana
-
11 years ago
6
ID003 device info
PCRE (PHP <7.3)
no description available
Submitted by
sasjaq
-
11 years ago
-2
[A-Z]+[a-z]{1,2}[0-9]*
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
11 years ago
2
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
1
Find UnCommented Console. Code
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
-2
A masz!
PCRE (PHP <7.3)
no description available
Submitted by
Ja
-
11 years ago
-2
failed attempt
PCRE (PHP <7.3)
no description available
Submitted by
DynV
-
11 years ago
1
Test Listing Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Ukazka
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
-2
Remove empty HTML tags
PCRE (PHP <7.3)
Removes empty HTML tags. Was needed for old input clean-up and to keep a HTML parses from crashing. Looking for improvement on bottom test.
Submitted by
R. Sartorius
-
11 years ago
3
Task 2, part 1
PCRE (PHP <7.3)
Finds all source numbers in square brackets
Submitted by
Kovalev Evgeny
-
11 years ago
4
Task 1
PCRE (PHP <7.3)
Finds a happy smile, except sad one
Submitted by
Kovalev Evgeny
-
11 years ago
1
Task 1
PCRE (PHP <7.3)
no description available
Submitted by
Kovalev Evgeny
-
11 years ago
1
srt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
11 years ago
1
...
892
893
894
895
896
...
901
Community Library Entry
8
Regular Expression
Python
r"
^
(
http
[
s
]
?
:
)+
\/\/
(
[^
:
\/
\s
]
+
)
(
[^
#?
\s
]
+
)
\?
(
[^
#
]
*
)?
(
#
.
*
)?
$
"
i
Open regex in editor
Description
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
11 years ago