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 12,780 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Mobile Number Malta
ECMAScript (JavaScript)
Comprehensive regex for all the 99/79/77 mobile numbers for malta with all types of space paddings used, and with option to add +356 or 00356 with brackets and without.
Submitted by
Xmiq
-
8 years ago
2016-05-19 08:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ftp response from ftpwebrequest
PCRE (PHP <7.3)
no description available
Submitted by
azhar
-
8 years ago
2016-05-19 07:52
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
URL-http(s)
PCRE (PHP <7.3)
Tests for valid http or https protocol URL. *2 groups- one for protocol,domain, and any subdomains; and one for path, query, params, and fragments(if any. The following WILL match: http://foo.com/blah_blah http://foo.com/blah_blah/...
Submitted by
Brennan
-
8 years ago
2016-05-19 04:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
E-mail RegExp
PCRE (PHP <7.3)
Expreção Regular para E-Mails.
Submitted by
Mizael Silva Lemos nemeses606@gmail.com
-
8 years ago
2016-05-18 20:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Most recent subpattern
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-18 19:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
http.edu.tr
PCRE (PHP <7.3)
no description available
Submitted by
html
-
8 years ago
2016-05-18 16:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Выделить полный индекс МПК и его составные части
PCRE (PHP <7.3)
no description available
Submitted by
Irina
-
8 years ago
2016-05-18 15:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Eu format currency support different currencies
PCRE (PHP <7.3)
3.332.987,00 € $ 3 34,2 $
Submitted by
mattmezza
-
8 years ago
2016-05-18 12:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
week parser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-18 11:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
AIX ps -ef
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-18 09:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Last character
PCRE (PHP <7.3)
Get the last character from any line of a string
Submitted by
Edward Aryee
-
8 years ago
2016-05-18 08:02
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
8 years ago
2016-05-18 05:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match one or more chars in a text
PCRE (PHP <7.3)
no description available
Submitted by
padre629
-
8 years ago
2016-05-17 19:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-17 13:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Abbreviation Finder
PCRE (PHP <7.3)
Matches any abbreviations of a length between 2 and 4.
Submitted by
anonymous
-
8 years ago
2016-05-17 12:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Fecha y hora
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-17 11:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSS to Reagent
ECMAScript (JavaScript)
Transforms standart CSS rules to Reagents {:style{}}
Submitted by
Ugis
-
8 years ago
2016-05-16 23:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Negative regex for block of text
ECMAScript (JavaScript)
This will make sure a certain regex does not exist in a block of text, that includes new lines
Submitted by
Mandeep Rai
-
8 years ago
2016-05-16 20:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
8 years ago
2016-05-16 14:59
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-05-16 14:41
1
...
450
451
452
453
454
455
456
...
639
dollar amount or percent/rate
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
\$
(?=
[
1
-
9
]
)
(
(
\d
*
\.
\d
{1,2}
)
|
\d
+
\.
?
)
|
(
(?=
[
1
-
9
]
)
(
\d
+
\.
?
)
|
(
(?=(
[
1
-
9
]
+
|
\d
*
\.
0
*
[
1
-
9
]
+
))
\d
*
\.
\d
{1,4}
)
)
\%
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
Keith Freeman
-
8 years ago
2016-05-13 16:50