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
Community Patterns
Search among 3,700 community submitted regex patterns...
0
Get h1-6 tag
.NET 7.0 (C#)
(.*?)
Submitted by
OlegBel
-
a year 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
-
a year ago
0
Tel
ECMAScript (JavaScript)
Válida números de telefone
Submitted by
Mateus
-
a year ago
0
Percentage only
ECMAScript (JavaScript)
Percentage only
Submitted by
cagatayucar
-
a year ago
0
US|CA dollar
ECMAScript (JavaScript)
US|CA dollar regexp
Submitted by
cagatayucar
-
a year ago
0
property and value capture
ECMAScript (JavaScript)
capture property and value which have color attribute in it
Submitted by
Keshav
-
a year 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
-
a year ago
(Last modified a year 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
-
a year ago
0
Match IPv4 Valid
.NET 7.0 (C#)
expression to capture valid IP
Submitted by
anonymous
-
a year ago
0
Shashi test
ECMAScript (JavaScript)
Shashi
Submitted by
anonymous
-
a year ago
0
not working in browser
ECMAScript (JavaScript)
This regex works on regex101.com, but fails inside browser's console.
Submitted by
anonymous
-
a year ago
0
Storyblok Img2
ECMAScript (JavaScript)
Parse img2.storyblok.com URLs
Submitted by
anonymous
-
a year ago
(Last modified a year 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
-
a year ago
0
SRD TEST Internal
ECMAScript (JavaScript)
Test guts to gather Stat and amount
Submitted by
anonymous
-
a year ago
0
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
a year ago
0
prince first try
ECMAScript (JavaScript)
im just trying this out
Submitted by
prince
-
a year ago
(Last modified a year ago)
0
Make article title italic for PmWiki
ECMAScript (JavaScript)
Make article title italic for PmWiki
Submitted by
anonymous
-
a year ago
0
CSS RGB validation
ECMAScript (JavaScript)
It validates the RGB expression doesn't break the CSS parser.
Submitted by
Martin
-
a year ago
(Last modified a year ago)
0
^[A-Z,a-z,\-, ,\&]+$
.NET 7.0 (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
a year ago
0
01 Jan 2022 Mon 01:02:03
.NET 7.0 (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
a year ago
1
...
177
178
179
180
181
...
185
userName
23
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
*
[
a
-
zA
-
Z
]
{1,}
)
(?=
.
*
[
\d
]
{0,}
)
[
a
-
zA
-
Z0
-
9
]
{1,15}
$
/
Open regex in editor
Description
1-15 alphanumeric login name
Submitted by
gsanchezc
-
9 years ago