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 7,780 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
半角カタカナ、英文字Regexp (Javascript)
ECMAScript (JavaScript)
許容文字 ・半角カタカナ ・英文字(大文字、小文字) ・半角スペース**
Submitted by
loliqoop
-
6 years ago
2017-12-13 02:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Line learning Google app hack
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-13 13:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iso 8601 date with millisecond and timezone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-13 16:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
wqdwqd
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-13 23:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Rejection_Class
Python
no description available
Submitted by
anonymous
-
6 years ago
2017-12-15 16:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Checks for PHP classes with namespaces that haven't been imported.
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-12-16 04:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address validator
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp, fty4
-
6 years ago
2017-12-18 11:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Math parser MK1
Python
no description available
Submitted by
Lari Liuhamo
-
6 years ago
2017-12-18 19:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find/replace with 1 group capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-20 13:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
6 years ago
2017-12-20 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
6 years ago
2017-12-20 17:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PFITS Comments Strip HTML Tags
Python
Final version used in script.
Submitted by
Landon Sutherland
-
6 years ago
2017-12-21 21:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mustache Language parser regexp
ECMAScript (JavaScript)
Useful for parsing HTML templates written in mustache language. This regex does not support custom delimiter tags. For documentation see: http://mustache.github.io/mustache.5.html
Submitted by
anonymous
-
6 years ago
2017-12-25 18:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chinese phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-28 02:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-28 11:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SRP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-12-28 17:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to match positive or negative number or empty string, but not '-' alone
ECMAScript (JavaScript)
no description available
Submitted by
myth
-
6 years ago
2018-01-04 15:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for C-style assignments
Golang
no description available
Submitted by
cemares
-
6 years ago
2018-01-07 22:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
homepage_finder
Python
this regexp will extract the homepage from an url; it will factor in the "www" if there is one, and it will accept a slash at the end
Submitted by
anonymous
-
6 years ago
2018-01-08 15:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Script Tag in html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2018-01-09 16:13
1
...
238
239
240
241
242
243
244
...
389
Find SCSS color variables and their values
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
\$
(
[
a
-
z0
-
9-
]
+
)
:
\s
+
(
.
[^
;
]
{3,6}
\s
*
(
!default
)?
)
;
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
5 years ago
2018-11-08 10:31