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 3,640 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
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
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
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
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
-
3 years ago
0
Word Tokenizer
ECMAScript (JavaScript)
Word Tokenizer
Submitted by
anonymous
-
3 years ago
0
Кадастровый номер
ECMAScript (JavaScript)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
3 years ago
(Last modified 3 years ago)
1
...
149
150
151
152
153
...
182
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
0
Regular Expression
ECMAScript (JavaScript)
/
(?<year>
[
\d
]
{4}
)
-
(?<month>
0
[
1
-
9
]
|
1
[
1
-
2
]
)
-
(?<day>
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
T
(?<hour>
[
0
-
1
]
[
0
-
9
]
|
2
[
0
-
3
]
)
:
(?<minute>
[
0
-
5
]
[
0
-
9
]
)
:
(?<second>
[
0
-
5
]
[
0
-
9
]
)
(?:
Z
|
.
(?<millisecond>
[
0
-
9
]
{2,3}
)
)
/
gmi
Open regex in editor
Description
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
3 years ago