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
Community Patterns
Search among 3,400 community submitted regex patterns...
0
Canadian Postal Code
ECMAScript (JavaScript)
The postal code is a six-character code defined and maintained by Canada Post Corporation (CPC) for the purpose of sorting and delivering mail. The characters are arranged in the form ‘ANA NAN’, where ‘A’ represents an alphabetic character and ‘N’ represents a numeric character (e.g., K1A 0T6). The ...
Submitted by
Jonathan Lafleur
-
3 years ago
0
Remove leading zeros (on the left) on ipv4 (ip v4)
ECMAScript (JavaScript)
Regex to remove leading (on the left) zeros on ipv4 (ip v4) Source: https://autohotkey.com/board/topic/15491-regex-to-strip-leading-zeroes-out-of-an-ip-address-octet/
Submitted by
YMP
-
3 years ago
0
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
3 years ago
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
PEM X509 Certificate Header
ECMAScript (JavaScript)
Match X509 pem file headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
(Last modified 3 years ago)
0
PEM Key File Headers
ECMAScript (JavaScript)
Match OpenSSL defined PEM key headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
0
ATST_RESTRICTED
ECMAScript (JavaScript)
ATST_RESTRICTED
Submitted by
anonymous
-
3 years ago
0
Interesante
ECMAScript (JavaScript)
Obtener Texto
Submitted by
Asura
-
3 years ago
0
Separate Autocomplete Fields
ECMAScript (JavaScript)
Autocomplete Fields Regex
Submitted by
anonymous
-
3 years ago
0
Senha forte
ECMAScript (JavaScript)
Regex simples para verificação de senha forte: /^ (?=.*\d) // deve conter ao menos um dígito (?=.*[a-z]) // deve conter ao menos uma letra minúscula...
Submitted by
anonymous
-
3 years ago
0
version and folder remove script line at html
ECMAScript (JavaScript)
version and folder remove script line at html
Submitted by
anonymous
-
3 years ago
0
XWiki: Decrease headings level
ECMAScript (JavaScript)
Makes 2nd level headings the 1st level etc. This comes handy when for example creating a new page from a part of an existing XWiki page. While this regex could also try to beautify (normalize) the headings at the same time, better use a dedicated regex for that.
Submitted by
pbodnar
-
3 years ago
0
XWiki: Beautify (normalize) headings
ECMAScript (JavaScript)
Beautifies (normalizes) headings of an XWiki page.
Submitted by
pbodnar
-
3 years ago
0
XWiki: Increase headings level
ECMAScript (JavaScript)
Makes 1st level headings the 2nd level etc. This comes handy when for example making an extra chapter from a part of an XWiki page. By-design, this regex also beautifies (normalizes) the headings syntax (like this regex).
Submitted by
pbodnar
-
3 years ago
0
Vimeo FIle
ECMAScript (JavaScript)
Viimeo file.
Submitted by
Stephen Nelson
-
2 years ago
0
Word Tokenizer
ECMAScript (JavaScript)
Word Tokenizer
Submitted by
anonymous
-
2 years ago
0
Кадастровый номер
ECMAScript (JavaScript)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
2 years ago
(Last modified 2 years ago)
0
First Name with special characters, optional hyphen
ECMAScript (JavaScript)
First name validator - minimum 2 characters, optional hyphen, 2 or more characters
Submitted by
Jeff Zinn
-
2 years ago
0
ФИАС - Разделение адреса из справочника 1С
ECMAScript (JavaScript)
ФИАС 2:ГАР Regex101 ESTSTAT - статус дома STRSTAT - статус строения [ESTSTAT]{[Номер]}{{[Корпус]}{[STRSTAT]~[Номер]}}...
Submitted by
Virenbar
-
2 years ago
1
...
144
145
146
147
148
...
170
youtube url match
5
Regular Expression
ECMAScript (JavaScript)
/
(?:
https
?
:
\/\/
)?
(?:
www
\.
)?
(?:
youtu
\.
be
\/
|
youtube
\.
com
\/
(?:
embed
\/
|
v
\/
|
playlist
\?
|
watch
\?
v=
|
watch
\?
.
+
(?:
&
|
&
)
;v=
)
)
(
[
a
-
zA
-
Z0
-
9
\-
_
]
{11}
)?
(?:
(?:
\?
|
&
|
&
)
index=
(
(?:
\d
){1,3}
)
)?
(?:
(?:
\?
|
&
|
&
)?
list=
(
[
a
-
zA
-
Z
\-
_0
-
9
]
{34}
)
)?
(?:
\S
+
)?
/
g
Open regex in editor
Description
extract video id, index, play list id from youtube URL
Submitted by
anonymous
-
9 years ago