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 11,660 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Integers
PCRE (PHP <7.3)
Integers with no leading zeros ie. 0234 or -0486 is invalid
Submitted by
anonymous
-
4 years ago
2020-05-08 17:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Floats
PCRE (PHP <7.3)
Floats including integers that end with "f"
Submitted by
anonymous
-
4 years ago
2020-05-08 17:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Floats
PCRE (PHP <7.3)
Floats including integers that end with "f" Version 2: value will exclude "f"
Submitted by
anonymous
-
4 years ago
2020-05-08 17:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract substring from a string
PCRE (PHP <7.3)
For use with sed you need to escape the parentheses \(
Submitted by
anonymous
-
4 years ago
2020-05-08 19:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fecha en formato yyyy-mm-dd ----- yyyy-m-d ----- yyyy/mm/dd ----- yyyy/m/dd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-09 07:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Hastag #tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-09 08:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ährenlese
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-11 15:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cognito Validation Email Message
PCRE (PHP <7.3)
Cognito Validation Email Message.
Submitted by
anonymous
-
4 years ago
2020-05-11 16:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Map regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-12 09:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
request
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-12 10:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
psr.AddPackResult
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-12 19:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SSN - France
PCRE (PHP <7.3)
^ Debut [12] Homme ou Femme [0-9]{2} Année de naissance (0[1-9]|1) Mois de naissance ([0-9]{2}|2A|2B) Département de naissance ou 99 si né à l'étranger...
Submitted by
anonymous
-
4 years ago
2020-05-13 08:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Notrufnummern Deutschland
PCRE (PHP <7.3)
alle gültigen Notrufnummern inkl. 116xyz und 118xy werden abgedeckt 11922 ist nicht abgedeckt
Submitted by
anonymous
-
4 years ago
2020-05-13 10:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phishing Emails
PCRE (PHP <7.3)
This is a regex for ithelpdesk variants phishing emails
Submitted by
anonymous
-
4 years ago
2020-05-13 20:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing Kudos slack command
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-13 21:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
isMeraki
PCRE (PHP <7.3)
Determine if log entry matches meraki format
Submitted by
anonymous
-
4 years ago
2020-05-13 23:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UniStringToConstCString féle makrók
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-14 06:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Domain & SubDomians
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-14 15:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches last digits in a string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-14 17:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match string and number of digits exactly
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-14 17:56
1
...
522
523
524
525
526
527
528
...
583
Country calling codes
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
+
?
)
\t
(
[
-
\d
,
]
+
)
\t
(
.
+
?
)
.
+
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-23 09:28