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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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...
2
RFC3339 - JavaScript
ECMAScript (JavaScript)
Regex to validate a string that is RFC3339 compliant in JavaScript. RFC3339: https://www.rfc-editor.org/rfc/rfc3339. Expands upon: https://regex101.com/r/qH0sU7 by adding named capture groups for coding best practices.
Submitted by
Elliot Huffman
-
2 years ago
(Last modified 2 years ago)
0
get Alls methods , prototype, functions, etc.
ECMAScript (JavaScript)
((((\b(#|\w)+\b\.)?(\bprototype\b\.)?(\b(#|\w)+\b)(\s\=\s)?)?(\b(#|\w)+\b\s)\([\s\w,=]\s\))|(\bclass\b\s+\b\w+\b\s(extends\s\b\w+\b))(?=\s\{[\s\S]+\}))(?=\s*\{[\s\S]+\})
Submitted by
al.gau34
-
2 years ago
0
Storyblok Img2
ECMAScript (JavaScript)
Parse img2.storyblok.com URLs
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
not working in browser
ECMAScript (JavaScript)
This regex works on regex101.com, but fails inside browser's console.
Submitted by
anonymous
-
2 years ago
0
Shashi test
ECMAScript (JavaScript)
Shashi
Submitted by
anonymous
-
2 years ago
0
Match IPv4 Valid
.NET 7.0 (C#)
expression to capture valid IP
Submitted by
anonymous
-
2 years ago
0
Regex to Ignore Emoji/Emoticons
ECMAScript (JavaScript)
Regex to Ignore Emoji/Emoticons and allows every character
Submitted by
vishalx06
-
2 years ago
0
Simple CSS selectors
ECMAScript (JavaScript)
Matches all types of CSS selectors
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Extract domain and URI from an URL (no auth support)
ECMAScript (JavaScript)
This regex is used to extract a domain name (including subdomains) and the full URI from a URL. will not match when credentials are provided in the url.
Submitted by
anonymous
-
2 years ago
0
US phone, any standard format
ECMAScript (JavaScript)
Matches any standard, 10-digit US phone number formats
Submitted by
Atkin
-
2 years ago
0
Custom HTML/JavaScript email input validation
ECMAScript (JavaScript)
Only meant as an initial client-side filter to override the default input[type=email] validation done according to spec, which is much too simple. Inputs passing this regex MUST get validated in a more fine-grained manner again when received on the server-side
Submitted by
Neel Yadav
-
2 years ago
(Last modified 2 years ago)
0
property and value capture
ECMAScript (JavaScript)
capture property and value which have color attribute in it
Submitted by
Keshav
-
2 years ago
0
US|CA dollar
ECMAScript (JavaScript)
US|CA dollar regexp
Submitted by
cagatayucar
-
2 years ago
0
Percentage only
ECMAScript (JavaScript)
Percentage only
Submitted by
cagatayucar
-
2 years ago
0
Tel
ECMAScript (JavaScript)
Válida números de telefone
Submitted by
Mateus
-
2 years ago
0
[NOT WORKING] css/scss filenames but not css-modules (*.module.<extension>)
ECMAScript (JavaScript)
Get file paths .css or .scss but not .module.css or .module.scss
Submitted by
krutoo
-
2 years ago
0
Get h1-6 tag
.NET 7.0 (C#)
(.*?)
Submitted by
OlegBel
-
2 years ago
0
Mail address validation
ECMAScript (JavaScript)
Validates mail addresses
Submitted by
Sjoerd de Vries
-
2 years ago
0
Password validation
ECMAScript (JavaScript)
Regex used for password validation. A password match the following: At least 8 characters in length Minimum of 1 lower-case character Minimum of 1 upper-case character Minimum of 1 digit Minimum of 1 special character (non-whitespace)
Submitted by
Sjoerd de Vries
-
2 years ago
0
placeables
ECMAScript (JavaScript)
placeables
Submitted by
anonymous
-
2 years ago
1
...
14
15
16
17
18
...
187
Community Library Entry
0
Regular Expression
Golang
`
(
if
?
\(
.
*
(?P<v1>
\b
variavel
\b
)
)
|
(
^
let
(?P<v2>
variavel
)
=
)
|
^
[
\t
]
*
?
(?P<v3>
variavel
)
[
.
]
|
\(
.
*
?
(?P<v4>
\b
variavel
\b
)
.
*
?
\)
|
(
.
*
?
\$\{
.
*
?
(?P<v5>
\b
variavel
[
.
]
?
\b
)
)
|
(
.
*
?
[
\'\"
]
\s
*
?
\+
\s
*
?
\b
(?P<v6>
variavel
)
\b
)+
?
`
gm
Open regex in editor
Description
To get
Submitted by
anonymous
-
2 years ago