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...
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Find PHP object variables
Python
Find PHP object variables, and replace them with (array)brackets.
Submitted by
The Milkman
-
8 years ago
2
Adress regex
Python
no description available
Submitted by
Ali
-
8 years ago
2
Date of Birth
PCRE (PHP <7.3)
with Leap Year support (dd/MM/yyyy)
Submitted by
gdZeus (uploaded by limker)
-
8 years ago
2
8 Digits Password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Arabic and English
ECMAScript (JavaScript)
Matches Arabic and English and all other languages that does not use the special characters.
Submitted by
Kishore
-
8 years ago
2
new anchor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Match directory path
PCRE (PHP <7.3)
match with or without prevailing/trailing slashes
Submitted by
@zakiaziz
-
8 years ago
2
httplinkresolver
PCRE (PHP <7.3)
get special tag contains html link
Submitted by
okeskiner
-
8 years ago
2
Remove multiple white spaces between words
PCRE (PHP <7.3)
Remove multiple white spaces between words and replace it with the char of your choosing.
Submitted by
binary_fm
-
8 years ago
2
URL extractor
PCRE (PHP <7.3)
Extract parts of an URL.
Submitted by
Gilles Marchand
-
8 years ago
2
RewriteMatch into subfolder
PCRE (PHP <7.3)
RegEx for an .htaccess rewrite into a subfolder without provoking a 'too many redirects' error
Submitted by
Nils B.
-
8 years ago
1
UK Postcode
PCRE (PHP <7.3)
as per the following specifications: FORMAT EXAMPLE AN NAA M1 1AA ANN NAA M60 1NW AAN NAA CR2 6XH...
Submitted by
Spluf (Cosmin Pop)
-
8 years ago
1
Positive number - currency format (1234567890.12)
ECMAScript (JavaScript)
Positive number with 10 digits before decimal point (possible zeros in front) and 0-2 digits after (possible trailing zeros).
Submitted by
Evgeny Sinitsyn
-
8 years ago
2
Password (4 Classes)
Python
1 Uppercase 1 lower case 1 number 1 not a number or letter
Submitted by
anonymous
-
8 years ago
2
paramaterised sql like expressions for sybase
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
2
multiple sql like expressions
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
2
search for a regex excluding a word
PCRE (PHP <7.3)
^((?!proposed_).)*((project|task)_details) matches: project_details task_details...
Submitted by
aymon
-
8 years ago
2
Delete Blank Lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
IPv6 detection
Python
It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.
Submitted by
Ajabep
-
8 years ago
1
...
66
67
68
69
70
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
0
-
2
]
\.
\d
+
\.
\d
+
$
)
|
(
3
\.
0
\.
\d
+
$
)
|
(
3
\.
1
\.
\d$
)
|
(
3
\.
1
\.
1
[
1
-
6
]
$
)
/
gm
Open regex in editor
Description
Should show all semantic versions up to but not including 3.1.17
Submitted by
anonymous
-
2 years ago