Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 5,620 community submitted regex patterns...
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
regex101-4269
ECMAScript (JavaScript)
to share with IRC helpers
Submitted by
Bruno
-
9 years ago
2014-12-16 09:54
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
trans with var
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-15 12:57
2
8 upvotes, 6 downvotes (score 32.6%) (You must be signed in to vote)
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
9 years ago
2014-12-14 09:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
9 years ago
2014-12-12 19:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DEMO
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-12 03:28
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
TimezoneOffset
ECMAScript (JavaScript)
parses timezones in the format -08:00 or -8:0
Submitted by
Neha Kadam
-
9 years ago
2014-12-09 07:38
6
7 upvotes, 1 downvotes (score 52.9%) (You must be signed in to vote)
TimezoneOffset
ECMAScript (JavaScript)
used to parse timezone in the format -08:00 or +05:30
Submitted by
Neha
-
9 years ago
2014-12-09 07:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
9 years ago
2014-12-04 19:04
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
match url
ECMAScript (JavaScript)
unsplash.com
Submitted by
anonymous
-
9 years ago
2014-12-03 08:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
9 years ago
2014-12-03 03:57
10
11 upvotes, 1 downvotes (score 64.6%) (You must be signed in to vote)
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-01 17:13
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
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>
-
9 years ago
2014-11-30 21:17
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
S3 log analysis
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
2014-11-30 18:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
S3 Access Log Analyzer
ECMAScript (JavaScript)
A javascript regex for parsing an S3 log line.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
2014-11-28 23:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
test
Submitted by
test
-
9 years ago
2014-11-25 23:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
(|(ou:dn:=a)(ou:dn:=b))
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-24 14:38
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
rfc5646 simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-23 21:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-19 19:40
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
9 years ago
2014-11-19 12:01
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Simple Email Validation
ECMAScript (JavaScript)
Does not match everything, but good for a cross-platform validation filter.
Submitted by
anonymous
-
9 years ago
2014-11-17 08:58
1
...
271
272
273
274
275
276
277
...
281
PEP
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
[
A
-
Z
]
[
a
-
z
]
+
\b\s
+
\b
[
A
-
Z
]
[
a
-
z
]
+
\b
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-06-07 12:09