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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,000 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
pdf extension whether query strings or no
PCRE2 (PHP >=7.3)
pdf extension whether query strings or no
Submitted by
andru255
-
3 years ago
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
Edge Case Catcher
PCRE2 (PHP >=7.3)
Identifies rare and unusual typos and other edge cases in files converted to txt from other formats that would otherwise be difficult to single out.
Submitted by
lion
-
3 years ago
0
Us mobile no validation Regex
PCRE2 (PHP >=7.3)
just a us mobile no validator
Submitted by
Naman Shrimali
-
3 years ago
0
regex day
PCRE2 (PHP >=7.3)
y
Submitted by
anonymous
-
3 years ago
0
Capture Groups for Date Parsing
PCRE2 (PHP >=7.3)
Rip apart a date-time and reassemble the parts.
Submitted by
Richard Eigenmann
-
3 years ago
0
GraphQL C# helper substitution pattern
PCRE2 (PHP >=7.3)
No description
Submitted by
anonymous
-
3 years ago
0
Match a phone number formatted using North American Numbering Plan (NANP)
Python
More Details: https://exercism.org/tracks/python/exercises/phone-number
Submitted by
Nishant Misra
-
3 years ago
(Last modified 3 years ago)
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
0
Super Gene Voice of God
Python
Isolates lines to format from the popular Super Gene web novel
Submitted by
max
-
3 years ago
0
tablespoons
Python
fasdgasdes
Submitted by
asffgsadd
-
3 years ago
0
Match all characters accept for those not accepted
PCRE2 (PHP >=7.3)
Pattern for validating a text area, to allow all characters except those in the regex pattern. An event listener checks entry on keyup, and displays error or success live in the bootstrap 5 HTML. if (field.name === "form_message") { const re = /#%^&*\/; if (re.test(field.va...
Submitted by
anonymous
-
3 years ago
0
find dk domains
PCRE2 (PHP >=7.3)
only finds dk domains in urls
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Madmax plots
PCRE2 (PHP >=7.3)
Madmx plots
Submitted by
anonymous
-
3 years ago
0
Grab ID
PCRE (PHP <7.3)
^
Submitted by
anonymous
-
3 years ago
0
Cron
PCRE (PHP <7.3)
fr
Submitted by
anonymous
-
3 years ago
1
...
767
768
769
770
771
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?=
.
*
\d
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
!@#$%^&*()_+{}|:"<>?[
\]
;',.
\/
~-
]
)
.
{12,30}
$
/
gm
Open regex in editor
Description
長度在12到30個字符之間;
至少包含一個小寫字母;
至少包含一個大寫字母;
至少包含一個數字;
至少包含一個特殊符號(如!@#$%^&*()_+{}|:"<>?[];',./`~-)。
Submitted by
SCL
-
a year ago