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,560 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
-
a day 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
-
10 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
-
10 days ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
15 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]
-
17 days ago
(Last modified 16 days ago)
1
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
19 days ago
(Last modified 19 days ago)
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
20 days ago
(Last modified 21 hours 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
.NET CSV parser
.NET 7.0 (C#)
Parses CSV files using comma (,) as delimiter and double quote (") as quoted-field tag. Features: Respects empty fields, including at the beginning and at the end of the line Respects line breaks in quoted fields
Submitted by
kevinhp
-
a month ago
1
IP address without local
.NET 7.0 (C#)
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
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
-
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
-
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
-
2 months ago
1
Discord Server Invite, Rust RegEx
Rust
A regular expression for Rust that matches against Discord server invite URLs, but not those without an actual code present. This may be used in Discord's AutoMod feature as it supports up to 10 Rust regular expressions per custom rule.
Submitted by
sepruko
-
3 months ago
1
JS/TS imports of external dependencies
Rust
This regex can be used on a JavaScript/TypeScript file to find imports from third-party packages. This is useful for determining what to put in dependencies/peerDependencies. This is a Rust regex, which makes it easy to use with rg (ripgrep). Pro tip: combine rg with sort -u to get a list of all pac...
Submitted by
Nikita Karamov
-
3 months ago
1
2
3
...
178
match a collection of usernames after tag 'users:' and between '[...]' and separated by commas
1
Regular Expression
ECMAScript (JavaScript)
/
(?<=
(
\s
|
\b
)
users:
\[
)
(
[
a
-
zA
-
Z0
-
9_,
]
*
)
(?=
\]
)
/
gm
Open regex in editor
Description
self explainatory title, usernames array must not contain any exotic character besides
,
Submitted by
Lagoffre
-
a month ago