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 13,760 community submitted regex patterns...
1
date_regex
Python
YYYYMMDD YYYY-MM-DD YYYY.MM.DD YYYY/MM/DD YYYY-M-D YYYY.M.D...
Submitted by
anonymous
-
4 years ago
(Last modified 6 months ago)
1
Semantic App Version (major.minor.patch) is greater than or equal to 6.1.3
PCRE (PHP <7.3)
This regular expression will match app versions following the Semantic Versioning scheme greater than or equal to 6.1.3 The first capturing group will match app versions 6.1.*, where the patch version is greater than or equal to 3. The second capturing group will match app versions. 6.., where the ...
Submitted by
anonymous
-
5 years ago
(Last modified a year ago)
1
NFL Fixtures for links
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Surname regex validation
PCRE (PHP <7.3)
no description available
Submitted by
https://www.linkedin.com/in/peralta-steve-atileon/
-
5 years ago
1
C# class declaration
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Matriculas [PT]
PCRE (PHP <7.3)
Código que permite identificar novas matrículas de Portugal, bem como as antigas e dividir por grupos
Submitted by
anonymous
-
5 years ago
1
Vérification d'une adresse IP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Python:Match paragraphs separated by URL
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Modern Chrome User Agent
PCRE (PHP <7.3)
Detects modern Chromium-based browsers Chrome >= 67 YaBrowser >= 18.7 Opera >= 54 Samsung Internet >= 9.2...
Submitted by
slavafomin
-
5 years ago
1
Modern Firefox User Agent
PCRE (PHP <7.3)
Detects modern Firefox browser versions Firefox >= 60 These versions require only ~29.33 KB of core-js polyfills.
Submitted by
slavafomin
-
5 years ago
1
Modern Safari versions User Agent
PCRE (PHP <7.3)
Detects modern Safari versions by User Agent string Safari & iOS Safari >= 10 These browsers require ~62 KB of core-js polyfills.
Submitted by
slavafomin
-
5 years ago
1
22 Jimmy
PCRE (PHP <7.3)
.+\.{a-z}+$ / .+\.{a-z}+$...
Submitted by
anonymous
-
5 years ago
1
Replace many spaces to one
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Another X / Extra X / X more
Python
Extract phrases meaning "add X more of the previous item"
Submitted by
anonymous
-
5 years ago
1
Wordless Date Validation
PCRE (PHP <7.3)
Validate and capture different dates without words for example: dd/mm/yyyy, d/m/yy, yyyy-mm-dd, yy-mm-dd
Submitted by
anonymous
-
5 years ago
1
URL with port and hash
PCRE (PHP <7.3)
URL with port and hash
Submitted by
anonymous
-
5 years ago
1
Exclude extension from file basename
PCRE (PHP <7.3)
Description Exclude extension from file basename - get filename only! BASENAME = FILENAME.EXTENSION
Submitted by
Cober@Axterbach
-
4 years ago
1
Exclude subdirs from URL
PCRE (PHP <7.3)
Excludes certain subdirs unless they contain specific valid patterns
Submitted by
anonymous
-
4 years ago
1
Iranian Mobile Numbers
PCRE (PHP <7.3)
Iranian Mobile Numbers By: EmIT (Seyed Emad Armoun) www.EmadArmoun.ir
Submitted by
anonymous
-
4 years ago
1
Audio filename splitter
Python
This Python regex allows you to split an audio filename with the sintax Authors - Title (Text1) [Text2].extension into: Group 1: Authors Group 2: Title Group 3: Text1 Group 4: Text2 Group 5: .extension...
Submitted by
Eche L.A.
-
4 years ago
1
...
215
216
217
218
219
...
688
URL with port and hash
1
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
:
[
0
-
9
]
{0,5}
)?
(
#
[
\w
]
*
)?
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
gi
Open regex in editor
Description
URL with port and hash
Submitted by
anonymous
-
5 years ago