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,640 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
yowsup-cli message parsing
Python
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
8 years ago
2015-10-19 19:36
-2
8 upvotes, 10 downvotes (score 24.6%) (You must be signed in to vote)
Valid Email
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+([-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}(-.{2,6})*;
Submitted by
Fred Scales
-
8 years ago
2015-10-19 17:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
8 years ago
2015-10-19 16:50
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Markup link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-19 15:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
check password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-19 11:20
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
shankar g mirpuri social security number
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-10-19 09:13
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
8 years ago
2015-10-19 07:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Select all numbers greater than 36 (python)
Python
no description available
Submitted by
Mansoor
-
8 years ago
2015-10-18 08:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
img
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-17 11:02
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Name/Surname
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
8 years ago
2015-10-17 08:00
5
11 upvotes, 6 downvotes (score 41.3%) (You must be signed in to vote)
HTML img
ECMAScript (JavaScript)
Grabs all HTML tags
Submitted by
Pirate11
-
8 years ago
2015-10-17 05:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-16 16:36
12
23 upvotes, 11 downvotes (score 50.8%) (You must be signed in to vote)
Username with "_" "-"
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
-
8 years ago
2015-10-16 15:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Ontario Licence Class Combinations
Python
In Ontario, Canada, license classes are combined on the drivers license. This regex will parse out individual classes from the combination.
Submitted by
Gregory Holley
-
8 years ago
2015-10-16 13:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
gg
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-10-16 12:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Tutorial extracting url data
Python
http://regexone.com/problem/extracting_url_data
Submitted by
robi
-
8 years ago
2015-10-16 11:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Don't know how to match this.
Python
no description available
Submitted by
Nick
-
8 years ago
2015-10-15 22:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
urls ending with
ECMAScript (JavaScript)
Urls ending with a specific domain
Submitted by
anonymous
-
8 years ago
2015-10-15 14:57
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
BNF for specific URL schemes (httpurl) from rfc1738
Python
This regex represents the httpurl in BNF from rfc1738 (at topic 5). Reference:https://www.ietf.org/rfc/rfc1738.txt
Submitted by
Migueh
-
8 years ago
2015-10-15 11:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find all Twitter Bootstrap Buttons
Python
Find all twitter bootstrap buttons with class "btn".
Submitted by
anonymous
-
8 years ago
2015-10-15 06:32
1
...
242
243
244
245
246
247
248
...
282
iso 8601
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
\d
{4}
)
-
(
[
01
]
\d
)
-
(
[
0
-
3
]
\d
)
T
(
[
0
-
2
]
\d
)
:
(
[
0
-
5
]
\d
)
:
(
[
0
-
5
]
\d
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
phyng
-
8 years ago
2015-10-10 03:28