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 18,020 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 Assets
PCRE2 (PHP >=7.3)
Match paths for a.storyblok.com
Submitted by
anonymous
-
2 years ago
(Last modified 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
Init code
PCRE2 (PHP >=7.3)
Init code
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
find all wikipedia links in a text
PCRE2 (PHP >=7.3)
a regex that finds all expressions that start with "(https://en.wikipedia.org/wiki" and end with a closing bracket.
Submitted by
David
-
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
Start with t or T and some number and End with <String>
PCRE2 (PHP >=7.3)
Some custom pattern matching where a string start with t and end with any string, for example - t123_click, t1234_click_submit, T12_click_click_skip
Submitted by
Jaswinder
-
2 years ago
0
patternmatching
PCRE2 (PHP >=7.3)
pattern to ensure keywords are picked up if words on either side
Submitted by
anonymous
-
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
Get All inst of Characters Name
Python
Standard Script format tv
Submitted by
SummerRay
-
2 years ago
0
PCRE destination filename matcher
PCRE2 (PHP >=7.3)
Matches the most advanced filename for a given version as per my file naming conventions.
Submitted by
Robert Larkins
-
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
PSMFC-ELogUserRegex
PCRE2 (PHP >=7.3)
allow simple usernames starting with a letter, containing . - and _ or an email
Submitted by
anonymous
-
2 years ago
0
Valid Scientific Notation Number
Java 8
A valid number can be split up into these components (in order): A decimal number or an integer. (Optional) An 'e' or 'E', followed by an integer. A decimal number can be split up into these components (in order):...
Submitted by
cliserkad
-
2 years ago
1
...
82
83
84
85
86
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
\(
\d
{3}
\)
*
\s\d
{3}
-
\d
{4}
)
|
(?:
\d
{3}
(?:
-
|
\s
*
)
\d
{3}
-
\d
{4}
)
|
(?:
\d
{10}
)
/
gm
Open regex in editor
Description
Matches any standard, 10-digit US phone number formats
Submitted by
Atkin
-
2 years ago