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,640 community submitted regex patterns...
1
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
10 years ago
1
incorrect number regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Simple Email Validation
ECMAScript (JavaScript)
Does not match everything, but good for a cross-platform validation filter.
Submitted by
anonymous
-
10 years ago
1
rfc5646 simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
(|(ou:dn:=a)(ou:dn:=b))
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
S3 Access Log Analyzer
ECMAScript (JavaScript)
A javascript regex for parsing an S3 log line.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
1
Common log format datetime
ECMAScript (JavaScript)
Parses the common log format into component elements. According to wikipedia, common log is strftime format %d/%b/%Y:%H:%M:%S %z
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
1
match url
ECMAScript (JavaScript)
unsplash.com
Submitted by
anonymous
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
1
DEMO
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
C# constants from Unity3D's MonoBehaviour messages' docs
ECMAScript (JavaScript)
Create a static reference to the Unity MonoBehaviour messages. Select the "Messages from" http://docs.unity3d.com/ScriptReference/MonoBehaviour.html and substitute with: public const string $1 = "$1";
Submitted by
KiwiDevelop.com
-
10 years ago
1
trans with var
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Simple phone or email
ECMAScript (JavaScript)
True if user input mobile phone or email
Submitted by
jiller
-
10 years ago
1
Extraire sku URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Spanish NIE / NIF Validator
ECMAScript (JavaScript)
no description available
Submitted by
Gauravity
-
10 years ago
1
How to limit total number of characters of match
ECMAScript (JavaScript)
I need to match a pattern as follows with the added limitation that the match must be exactly 7 characters long: /^\d[a-zA-Z]\d$/ In words, this is a 7 character sequence of 6 digits and one alphabetic character in any order. How do I limit the overall length to 7 using regex? Thanks!
Submitted by
Andy S
-
10 years ago
1
MY RFC 5322 implementation
ECMAScript (JavaScript)
My RFC 5322 implementation for email validation with few limitation on top level domain name
Submitted by
DevJustWantHaveFun
-
10 years ago
1
quantity matcher
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
...
113
114
115
116
117
...
182
Community Library Entry
1
Regular Expression
Golang
`
^
(?:
https
?
:
\/\/
)?
(?:
(?:
www
\.
)?
youtube
\.
com
\/
(?:
(?:
v
\/
)
|
(?:
embed
\/
|
watch
(?:
\/
|
\?
)
){1,2}
(?:
.
*
v=
)?
|
.
*
v=
)?
|
(?:
www
\.
)?
youtu
\.
be
\/
)
(
[
A
-
Za
-
z0
-
9_
\-
]
+
)
&
?
.
*
$
`
gmi
Open regex in editor
Description
no description available
Submitted by
RyuaNerin
-
9 years ago
(Last modified a year ago)