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,560 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Data URL
PCRE2 (PHP >=7.3)
Parsing of Data URLs
Submitted by
anonymous
-
2 years ago
2022-01-15 20:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone of 10 and 11 digits
PCRE2 (PHP >=7.3)
Phone validation
Submitted by
anonymous
-
2 years ago
2022-01-15 05:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Country codes ISO 3166-1 alpha-2
PCRE2 (PHP >=7.3)
Matches to a valid ISO 3166-1 alpha-2 pattern.
Submitted by
anonymous
-
2 years ago
2022-01-14 18:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
/user/favorites
PCRE2 (PHP >=7.3)
Url endpoint
Submitted by
anonymous
-
2 years ago
2022-01-14 18:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wersjonowanie semantyczne
PCRE (PHP <7.3)
a
Submitted by
https://semver.org/lang/ko/
-
2 years ago
2022-01-14 11:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get all image link in html
PCRE2 (PHP >=7.3)
get all image link in html
Submitted by
anonymous
-
2 years ago
2022-01-13 19:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Strong Password
PCRE2 (PHP >=7.3)
Support JS and PHP
Submitted by
jodi@nusantarabetastudio.com
-
2 years ago
2022-01-13 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Argument:Value, exclusively
PCRE2 (PHP >=7.3)
Attempt to only match Argument:Value pairs, but exclude numeric:numeric (for instance a time value format) using negative lookahead. Can be used for console arguments, examples: USE_DEV:true. => valid / match 07:00 or 07:00:00 => invalid / no match
Submitted by
Theo V
-
2 years ago
2022-01-13 10:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
name
PCRE2 (PHP >=7.3)
One name
Submitted by
sharif
-
2 years ago
2022-01-13 09:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tag(value) or bare tag
PCRE2 (PHP >=7.3)
An expression to parse strings in the format tag(value) or tag or tag()
Submitted by
anonymous
-
2 years ago
2022-01-12 18:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Image URL with 'w' and 'crop' query var
PCRE2 (PHP >=7.3)
This is a regex expression to match URL with 'w' (width) and 'crop' query vars
Submitted by
Bhavik Kalpesh
-
2 years ago
2022-01-12 17:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace <b> HTML tag with <strong> tag
PCRE (PHP <7.3)
Replace old formatting HTML tag with semantic tag. It can be used as a template for replacing any HTML tag, like , etc.
Submitted by
O’Reilly Regular Expressions Cookbook
-
2 years ago
2022-01-12 16:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex para CPF
PCRE (PHP <7.3)
Verificação simplificada dígitos CPF
Submitted by
anonymous
-
2 years ago
2022-01-12 12:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GCC Cpp Compiler
PCRE2 (PHP >=7.3)
Jenkins Warnings Next Generation Plugin
Submitted by
Dennis Kölbel
-
2 years ago
2022-01-12 09:10
(Last modified 2 years ago)
2022-01-12 09:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv4 + TCP-Port
Java 8
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-
2 years ago
2022-01-12 07:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Markdown
PCRE (PHP <7.3)
Working with Markdown
Submitted by
anonymous
-
2 years ago
2022-01-12 05:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
2012 movies
PCRE2 (PHP >=7.3)
g
Submitted by
anonymous
-
2 years ago
2022-01-12 00:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Title (Subtitle)
PCRE2 (PHP >=7.3)
Parse out a title and subtitle
Submitted by
anonymous
-
2 years ago
2022-01-11 19:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mpe
Java 8
coda test
Submitted by
anonymous
-
2 years ago
2022-01-10 16:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password Valiadtion
PCRE2 (PHP >=7.3)
This is password validation regular expression in javascript
Submitted by
anonymous
-
2 years ago
2022-01-10 14:25
1
...
77
78
79
80
81
82
83
...
578
WhatsApp - Multimedia Upload Prevention
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
mm
[
gvis
]
(
[
0
-
9
]
{1,3}
)?
|
(
(
media
(
\.
|
-
)
[
a
-
zA
-
Z
]
{1,4}
[
0
-
9
]
{1,2}
-
[
0
-
9
]
{1,2}
\.
)
(
cdn
|
fna
)
)
)
\.
whatsapp
\.
net
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
ulgena
-
2 years ago
2021-11-25 07:00
(Last modified 2 years ago)
2021-12-02 12:10