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,740 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
-
8 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
-
16 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
-
16 days ago
1
Split Docker image into image name, tag and digest with all optional
Golang
Splits a Docker image string into the separate parts: image, tag, digest tag and digest are optional
Submitted by
Roemer
-
21 days ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
22 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]
-
23 days ago
(Last modified 22 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
-
25 days ago
(Last modified 25 days ago)
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
a month ago
(Last modified 7 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
.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
-
2 months ago
1
match a username after 'user:'
ECMAScript (JavaScript)
self explainatory title, username must not contain any exotic character.
Submitted by
Lagoffre
-
2 months 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
Multiline CSS to one line CSS example (C#)
.NET 7.0 (C#)
Regex that will match/replace unnecessary whitespaces in CSS code.
Submitted by
Puchkov Eugene
-
3 months ago
(Last modified 3 months ago)
1
2
3
...
187
domain
0
Regular Expression
Golang
`
(
(
[
[:alnum:]
]
-
?
)?
(
[
[:alnum:]
]
-
?
)+
\.
)+
[
[:alpha:]
]
{2,4}
`
Open regex in editor
Description
ss
Submitted by
sssssss
-
2 years ago