Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,820 community submitted regex patterns...
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
Alpha Numeric with International characters
PCRE2 (PHP >=7.3)
Alpha Numeric with International characters with space This matches any letter, number, or space in most languages. [...] -> Match with conditions [a|b] -> Match 'a' OR 'b'...
Submitted by
Dinesh Swami
-
3 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surround a string by $$ chards
Submitted by
anonymous
-
3 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surrounded by regex
Submitted by
anonymous
-
3 years ago
0
css special characters
PCRE2 (PHP >=7.3)
The only special characters I've come across are ., :, /. Tailwind CSS uses all of them.
Submitted by
anonymous
-
3 years ago
0
UK National Insurance Number
PCRE2 (PHP >=7.3)
UK National Insurance Number, NINO
Submitted by
anonymous
-
3 years ago
0
확장자 트릭.
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
Math HTML tag
PCRE2 (PHP >=7.3)
text
Submitted by
anonymous
-
3 years ago
0
Verify Cambodian mobile phone number(柬埔寨手机号码正则)
PCRE (PHP <7.3)
国家:Cambodia 中文名称:柬埔寨 区域码:+855 手机号位数:8或9 号段:10-18 其他号段:31、38、60、61、66-71、76-78、80、81、83-89、90-93、95-99...
Submitted by
7kk
-
3 years ago
0
Verify Indian mobile number(印度手机号码正则)
PCRE (PHP <7.3)
国家:India 中文名称:印度 区域码:+91 手机号位数:10 号段:7503、7504、8000、900 eg:+91 9001234567
Submitted by
7kk
-
3 years ago
0
주피와의관계
PCRE2 (PHP >=7.3)
주피와의관계
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
피보험자명
PCRE2 (PHP >=7.3)
피보험자 명
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
증권번호
PCRE2 (PHP >=7.3)
증권번호
Submitted by
anonymous
-
3 years ago
0
PAN Card
PCRE2 (PHP >=7.3)
PAn Card
Submitted by
anonymous
-
3 years ago
0
0401 - logstash
PCRE2 (PHP >=7.3)
logstash match test
Submitted by
anonymous
-
3 years ago
0
Singapore UEN
PCRE (PHP <7.3)
Should match all valid UENs but doesn't check Entity Type is valid. Based on: https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx
Submitted by
Harry Gordon
-
3 years ago
(Last modified 3 years ago)
0
청약채널
PCRE2 (PHP >=7.3)
청약채널
Submitted by
anonymous
-
3 years ago
0
보험상품명
PCRE2 (PHP >=7.3)
보험상품명
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Used to search last occurence of a string and trim it to the required digits
PCRE2 (PHP >=7.3)
https://regex101.com/r/LWtvla/1
Submitted by
Sri
-
3 years ago
1
...
126
127
128
129
130
...
591
Youtube video link regular expression
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
https:
\/\/
(
youtu
\.
be
\/
[
A
-
Za
-
z0
-
9
]
{11}
|
www
\.
youtube
\.
com
\/
watch
\?
v=
[
A
-
Za
-
z0
-
9
]
{11}
)
$
/
Open regex in editor
Description
This regular expression allows you to test strings to see if they are youtube video links.
Submitted by
Pythack
-
3 years ago