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,800 community submitted regex patterns...
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-28 10:35
-3
6 upvotes, 9 downvotes (score 19.8%) (You must be signed in to vote)
Select a HTML table and all its innerHTML
PCRE (PHP <7.3)
no description available
Submitted by
@ixzy24
-
9 years ago
2015-04-15 19:49
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
8 years ago
2015-06-03 01:35
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Match email addresses and get the mail provider as a group
PCRE (PHP <7.3)
no description available
Submitted by
Ole
-
8 years ago
2015-06-10 18:23
-3
4 upvotes, 7 downvotes (score 15.2%) (You must be signed in to vote)
RegEX for account code starting with 000-
PCRE (PHP <7.3)
no description available
Submitted by
Joe H
-
8 years ago
2015-06-15 17:55
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Telephone
PCRE (PHP <7.3)
Find Telephone
Submitted by
Mr.Fail
-
8 years ago
2015-06-16 14:32
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
iOS.Strings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-23 15:27
-3
5 upvotes, 8 downvotes (score 17.7%) (You must be signed in to vote)
FQDN Fully Qualified Domain Name
PCRE (PHP <7.3)
no description available
Submitted by
Rafael Justo and Mauro Trajber
-
8 years ago
2015-06-25 16:31
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
ipv4 - short version
PCRE (PHP <7.3)
no description available
Submitted by
gromozeka
-
8 years ago
2015-07-15 08:26
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
UpperCase words
PCRE (PHP <7.3)
no description available
Submitted by
ivo
-
8 years ago
2015-07-15 16:06
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
a
PCRE (PHP <7.3)
a
Submitted by
a
-
8 years ago
2015-07-17 20:10
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Facebook url regex
PCRE (PHP <7.3)
no description available
Submitted by
Devs Devaras
-
8 years ago
2015-07-23 09:49
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Replace abba with ABBA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-30 10:24
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
get table name from mapfile
PCRE (PHP <7.3)
gets a postgis tablename from a mapfile with the given layer name, may not work depending on your mapfile layout
Submitted by
warnock
-
8 years ago
2015-09-01 15:38
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
8 years ago
2015-09-10 09:06
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Clean empty tags from HTML tags incl. tags containing space(s)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-18 13:34
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
matching words between tags
ECMAScript (JavaScript)
matching words between square brachets tags include newline or carriage return
Submitted by
anonymous
-
8 years ago
2015-09-22 15:10
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
Remove special character at first position of string
PCRE (PHP <7.3)
This search for special character at first position in the string
Submitted by
anonymous
-
8 years ago
2015-11-06 23:27
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
8 years ago
2015-11-19 00:55
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Regex Include & Exclude
PCRE (PHP <7.3)
Exclude part of a string in an include string.
Submitted by
anonymous
-
8 years ago
2016-01-26 19:36
1
2
3
4
5
...
640
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
0
[
1
-
9
]
|
[
1
-
7
]
[
0
-
9
]
|
8
[
0
-
1
]
)
(
(
[
A
-
PR
-
VYZ
]
{1}
)
(?!
0
{4,5}
$
)
\d
{4,5}
|
(
[
A
-
PR
-
VYZ
]
{2}
)
(?!
0
{3,4}
$
)
\d
{3,4}
|
(
[
A
-
PR
-
VYZ
]
{3}
)
(?!
0
{2,3}
$
)
\d
{2,3}
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
7 months ago
2023-04-24 20:44