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 2,160 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Swedish Phones
PCRE2 (PHP >=7.3)
Regex for Swedish phones (without +)
Submitted by
anonymous
-
4 minutes ago
2023-10-04 08:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Irish Phones
PCRE2 (PHP >=7.3)
Regex for Irish phones (without +)
Submitted by
anonymous
-
5 minutes ago
2023-10-04 08:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UK phones
PCRE2 (PHP >=7.3)
Regex for UK phones (without +)
Submitted by
anonymous
-
6 minutes ago
2023-10-04 08:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
German Phones
PCRE2 (PHP >=7.3)
Regex for German phones (without +)
Submitted by
anonymous
-
6 minutes ago
2023-10-04 08:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Italian Phones
PCRE2 (PHP >=7.3)
Regex for Italian phones (without +)
Submitted by
anonymous
-
8 minutes ago
2023-10-04 08:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Andorran Phones
PCRE2 (PHP >=7.3)
Regex for Andorran phones (without +)
Submitted by
anonymous
-
10 minutes ago
2023-10-04 08:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Portuguese Phones
PCRE2 (PHP >=7.3)
Regex for Portuguese phones (without +)
Submitted by
anonymous
-
11 minutes ago
2023-10-04 08:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Australian Phones
PCRE2 (PHP >=7.3)
Regex for Australian phones (without +)
Submitted by
anonymous
-
15 minutes ago
2023-10-04 08:39
(Last modified a few seconds ago)
2023-10-04 08:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
France Phones
PCRE2 (PHP >=7.3)
Regex for France phones (without +)
Submitted by
anonymous
-
19 minutes ago
2023-10-04 08:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Spain Phones
PCRE2 (PHP >=7.3)
Regex for Spain phones (without +)
Submitted by
anonymous
-
21 minutes ago
2023-10-04 08:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gabon Phones
PCRE2 (PHP >=7.3)
Regex for Gabon phones (without +)
Submitted by
anonymous
-
22 minutes ago
2023-10-04 08:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Authors with year reference
PCRE2 (PHP >=7.3)
Try to find the author of a sentence following the next format: (Author, year) (Author, year; Author, year)
Submitted by
Antonio García Maestre
-
an hour ago
2023-10-04 08:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
[sample]
PCRE2 (PHP >=7.3)
sample regular expression
Submitted by
anonymous
-
2 hours ago
2023-10-04 06:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Unity Version Major & Minor (e.g. 2023.3)
PCRE2 (PHP >=7.3)
Match Unity Version as "Major.Minor"."Patch"
Submitted by
anonymous
-
13 hours ago
2023-10-03 19:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email
PCRE2 (PHP >=7.3)
list of email
Submitted by
anonymous
-
a day ago
2023-10-03 07:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DSN parser
PCRE2 (PHP >=7.3)
Regex for DSN parsing
Submitted by
ZKelo
-
a day ago
2023-10-02 21:07
(Last modified a day ago)
2023-10-02 21:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Syntax
PCRE2 (PHP >=7.3)
Replaces any period with the square brackets and single quotes
Submitted by
Andrew Stevens
-
2 days ago
2023-10-02 14:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Syntax
PCRE2 (PHP >=7.3)
finds and replaces square bracketed string literals with period and the field name
Submitted by
Andrew Stevens
-
2 days ago
2023-10-02 14:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Best email regex including + (plus) and everything else
PCRE2 (PHP >=7.3)
The best regular expression for emails, including the + (plus) sign for every possible valid email in 2023.
Submitted by
Jérôme Brunel
-
5 days ago
2023-09-29 20:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple scientific notation
PCRE2 (PHP >=7.3)
allowed: 123 123.234 123.234E13 +123.234E-412 -.234E-12
Submitted by
Romzikon
-
5 days ago
2023-09-29 13:53
1
2
3
4
...
108
Hardware ID
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9A
-
F
]
{8}
-
[
0
-
9A
-
F
]
{4}
-
[
0
-
9A
-
F
]
{4}
-
[
0
-
9A
-
F
]
{4}
-
[
0
-
9A
-
F
]
{12}
$
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
Justman10000
-
6 months ago
2023-03-20 23:45