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
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
-
6 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
-
7 days ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
12 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]
-
14 days ago
(Last modified 13 days ago)
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
17 days ago
(Last modified 17 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
-
23 days ago
(Last modified 23 days 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
-
a month ago
(Last modified a month ago)
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
a month 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
-
2 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
IPv4, IPv6 and CIDR ranges validation pattern
ECMAScript (JavaScript)
This regex can be used to validate IPv4 and IPv6 addresses as well as CIDR ranges
Submitted by
Simon
-
3 months ago
(Last modified 10 days ago)
1
2
3
...
172
Contraction-inclusive Word Pattern
1
Regular Expression
PCRE2 (PHP >=7.3)
/
[
a
-
zA
-
Z
]
+
'
[
a
-
zA
-
Z
]
+
?
|
[
a
-
zA
-
Z
]
+
/
gm
Open regex in editor
Description
This regex will take both regular words and contractions
Submitted by
anonymous
-
5 months ago