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 3,440 community submitted regex patterns...
1
url_validation_url_doğrulama
ECMAScript (JavaScript)
^ - This signifies the start of the expression. https?:// - This matches either "http://" or "https://". (www.)? - This makes the "www." subdomain optional. [A-z0-9]+ - This matches one or more alphanumeric characters for the domain name. . - This matches a literal period character. [A-z0-9]+ - This...
Submitted by
Emre Yıldırım
-
5 days ago
1
Timestamp Regex
ECMAScript (JavaScript)
matches a timestamp that is in the format of Aug 14, 2024, 10:12 AM or month shortcode followed by day, year, time in 12 hours
Submitted by
astro
-
14 days ago
1
german date era with tolerance: n. Chr. or v. Chr. / n. Ztr of v. Ztr
ECMAScript (JavaScript)
Maches german era notations in date "v. Chr" and "v. Ztr" It is meant to be tolerant : periods and spaces are optional, and it is case insensitive
Submitted by
Olivier CHEVET
-
14 days ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
19 days ago
1
Simple but powerful email
ECMAScript (JavaScript)
"/" - start of regular expression "^" - anchor to beginning of string Group: [a-z0-9]+ "[a-z0-9]" - Latin character or digit "+" - occurring ONE or more times...
Submitted by
Diableros [https://github.com/Diableros]
-
21 days ago
(Last modified 20 days ago)
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
24 days ago
(Last modified 5 days ago)
1
Instagram hashtag regex
ECMAScript (JavaScript)
Simple and easy regex to find valid IG hastags in a string
Submitted by
Navanshu Rastogi - Febnik
-
a month ago
(Last modified a month ago)
1
HTML attributes
ECMAScript (JavaScript)
Find specific HTML attributes
Submitted by
Joseph R.
-
a month ago
1
match a collection of usernames after tag 'users:' and between '[...]' and separated by commas
ECMAScript (JavaScript)
self explainatory title, usernames array must not contain any exotic character besides ,
Submitted by
Lagoffre
-
a month ago
1
match a username after 'user:'
ECMAScript (JavaScript)
self explainatory title, username must not contain any exotic character.
Submitted by
Lagoffre
-
a month ago
1
match time offset from timezone offset string
ECMAScript (JavaScript)
match offset from utc offset string returned by the timeZoneName property of an Intl.DateTimeFormat object. (see MDN documentation here)
Submitted by
Lagoffre
-
2 months ago
(Last modified 2 months ago)
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
2 months ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
2 months ago
1
Next.js middleware config matcher regex
ECMAScript (JavaScript)
Next.js middleware config matcher regex ~ https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher ~ https://nextjs.org/docs/app/api-reference/file-conventions/middleware#config-object-optional Public - skip middleware /api/auth/*...
Submitted by
iki
-
2 months ago
1
changelog
ECMAScript (JavaScript)
changelog
Submitted by
alexsio nau
-
3 months ago
1
Match all and only Emoji
ECMAScript (JavaScript)
Purpose I wanted to make a regex that just works. This is it for ECMAScript engines. Capabilities ...
Submitted by
anonymous
-
3 months ago
1
JWT pattern
ECMAScript (JavaScript)
handles both JWS (3 segments) and JWE (5 segments) remove the ending (?:(?:... to handle JWS only segments 1+2 are expected tp start with e[yw], an encoded start of JSON object {" or {\n remove/extend it to match used token structure or make it even more restrictive (ey[IJ]|ewo) to match encod...
Submitted by
iki
-
3 months ago
(Last modified 2 months ago)
1
RFC3986 URI
ECMAScript (JavaScript)
Regexp to match URI using syntax defined in RFC 3986 a.k.a. Uniform Resource Identifier (URI): Generic Syntax to create best URI regexp there is (noone bothered to do so). #URL #URI #RFC #3986 #RFC3986
Submitted by
Niemiets
-
3 months ago
(Last modified 2 months ago)
1
RFC3986 URI-reference
ECMAScript (JavaScript)
Regexp to match URI-reference using syntax defined in RFC 3986 a.k.a. Uniform Resource Identifier (URI): Generic Syntax to create best URI-reference regexp there is (noone bothered to do so). #URL #URI #RFC #3986 #RFC3986
Submitted by
Niemiets
-
3 months ago
(Last modified 2 months ago)
1
Markdown Masked links
ECMAScript (JavaScript)
matches for any markdown Masked link text detected `` not detected (not valid(on most platforms))
Submitted by
yande
-
3 months ago
1
2
3
...
172
Best birth date check
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
(
19
|
[
2
-
9
]
[
0
-
9
]
)
[
0
-
9
]
[
0
-
9
]
)
-
(
(
0
[
1
-
9
]
|
1
[
012
]
)
-
(
0
[
1
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
8
]
)
|
(
(
0
[
13578
]
|
1
[
02
]
)
-
(
29
|
30
|
31
)
)
|
(
0
[
469
]
|
11
)
-
(
29
|
30
)
)
)
|
(
(
19
|
[
2
-
9
]
[
0
-
9
]
)
(
00
|
04
|
08
|
12
|
16
|
20
|
24
|
28
|
32
|
36
|
40
|
44
|
48
|
52
|
56
|
60
|
64
|
68
|
72
|
76
|
80
|
84
|
88
|
92
|
96
)
-02-29
)
$
/
gm
Open regex in editor
Description
Format YYYY-MM-JJ
Submitted by
anonymous
-
2 months ago