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,600 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
2 years ago
2022-01-25 14:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
2 years ago
2022-01-25 13:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
2 years ago
2022-01-24 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
2 years ago
2022-01-24 20:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
2 years ago
2022-01-24 20:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
2 years ago
2022-01-24 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
2 years ago
2022-01-23 17:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
2 years ago
2022-01-23 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
java-test1
Java 8
java test string
Submitted by
anonymous
-
2 years ago
2022-01-22 09:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
2 years ago
2022-01-22 07:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
quote
PCRE2 (PHP >=7.3)
quote text
Submitted by
anonymous
-
2 years ago
2022-01-21 20:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML TAG Match
PCRE2 (PHP >=7.3)
Match a html tag.
Submitted by
Fernando Gaston Olivera Alaniz
-
2 years ago
2022-01-21 17:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
2 years ago
2022-01-21 16:56
(Last modified 2 years ago)
2022-01-21 21:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
PCRE (PHP <7.3)
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
Submitted by
Natalia zolotareva
-
2 years ago
2022-01-21 14:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nom avant domaine
PCRE2 (PHP >=7.3)
sdfsdfsdfsdf
Submitted by
sdfsfsdfsdf
-
2 years ago
2022-01-21 13:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
py.checkio.org, task.long-repeat-inside
PCRE2 (PHP >=7.3)
in this one you should find a repeating sequence inside the substring. I have an example for you: in a string "abababc" - "ab" is a sequence that repeats more than once, so the answer will be "ababab" `repeat_inside('aaaaa') == 'aaaaa' repeat_inside('aabbff') == 'aa' repeat_inside('aababcc'...
Submitted by
https://py.checkio.org/mission/long-repeat-inside/publications/rossras/python-3/regular-expressions-now-you-have-two-problems/
-
2 years ago
2022-01-21 09:36
(Last modified 2 years ago)
2022-01-21 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate email
PCRE2 (PHP >=7.3)
Regex for email validation
Submitted by
anonymous
-
2 years ago
2022-01-21 01:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find queries that end with
PCRE2 (PHP >=7.3)
Find Search Queries that ends with a particular keyword or keywords
Submitted by
anonymous
-
2 years ago
2022-01-20 10:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search Queries that begin with a particular keyword
PCRE2 (PHP >=7.3)
Find search queries that begin with a specific keyword/keywords
Submitted by
anonymous
-
2 years ago
2022-01-20 10:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check WP Admin URLs
PCRE2 (PHP >=7.3)
Check WP admin pages that are indexed
Submitted by
anonymous
-
2 years ago
2022-01-20 10:04
(Last modified 2 years ago)
2022-01-20 10:10
1
...
77
78
79
80
81
82
83
...
580
youtube
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?:
(?:
http:
|
https:
)*
?
\/\/
(?:
www
\.
|)
(?:
youtube
\.
com
|
m
\.
youtube
\.
com
|
youtu
\.
|
youtube-nocookie
\.
com
)
.
*
(?:
v=
|
v%3D
|
v
\/
|
(?:
a
|
p
)
\/
(?:
a
|
u
)
\/
\d.
*
\/
|
watch
\?
|
vi
(?:
=
|
\/
)
|
\/
embed
\/
|
oembed
\?
|
be
\/
|
e
\/
)
)
(
[^
&?%#
\/
\n
]
*
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-11-23 19:22