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 3,580 community submitted regex patterns...
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
9 years ago
2015-04-22 03:44
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
8 years ago
2015-07-27 20:21
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
8 years ago
2015-08-03 12:24
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
8 years ago
2015-08-11 10:49
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
Firt letter of names capitalize with exceptions
ECMAScript (JavaScript)
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
8 years ago
2015-12-04 16:10
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
YouTubeVideoUrl
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
-
10 months ago
2023-01-30 16:07
(Last modified 10 months ago)
2023-01-30 16:08
2
17 upvotes, 15 downvotes (score 36.4%) (You must be signed in to vote)
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
10 years ago
2014-03-27 08:56
3
10 upvotes, 7 downvotes (score 36%) (You must be signed in to vote)
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
10 years ago
2013-10-08 17:29
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
javascript template replacement
ECMAScript (JavaScript)
no description available
Submitted by
akamaozu
-
9 years ago
2014-11-14 06:21
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
@media query tokenizer
ECMAScript (JavaScript)
Separates media query into rule and content
Submitted by
Stephan --> CTS_AE
-
9 years ago
2015-05-05 10:16
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
8 years ago
2016-04-19 00:12
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-11 21:08
3
8 upvotes, 5 downvotes (score 35.5%) (You must be signed in to vote)
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
2014-01-16 20:26
3
8 upvotes, 5 downvotes (score 35.5%) (You must be signed in to vote)
Italian VAT (IVA)
ECMAScript (JavaScript)
Italian VAT
Submitted by
Italo
-
8 years ago
2015-07-03 13:38
3
8 upvotes, 5 downvotes (score 35.5%) (You must be signed in to vote)
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
8 years ago
2015-07-08 20:29
3
8 upvotes, 5 downvotes (score 35.5%) (You must be signed in to vote)
time format HH:mm
ECMAScript (JavaScript)
validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59
Submitted by
Kelps Leite de Sousa
-
8 years ago
2015-10-28 13:13
(Last modified 4 months ago)
2023-07-20 21:38
3
6 upvotes, 3 downvotes (score 35.4%) (You must be signed in to vote)
po box
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-04-28 04:13
3
6 upvotes, 3 downvotes (score 35.4%) (You must be signed in to vote)
Simple math regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-18 19:47
3
6 upvotes, 3 downvotes (score 35.4%) (You must be signed in to vote)
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
8 years ago
2015-07-20 21:33
3
7 upvotes, 4 downvotes (score 35.4%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-21 11:04
1
...
3
4
5
6
7
8
9
...
179
match name and surname in a name.surname@domain.com email.
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
[^
\W\d
_
]
+
(?=
.
*
@
)
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
WojciechW
-
9 months ago
2023-02-22 14:20