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,860 community submitted regex patterns...
0
Improved HTS matcher
PCRE2 (PHP >=7.3)
For all customs related HTS stuff, you can now put the CBP document you need here and just grab all those tasty, tasty HTS numbers with this handy formula. Cheers!
Submitted by
anonymous
-
2 years ago
0
Get any Tariff number used in the HTS for Customs
PCRE2 (PHP >=7.3)
Tariff number format grabber for any customs related stuff
Submitted by
anonymous
-
2 years ago
0
Golang Docker matcher
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
-
2 years ago
0
Match all periods except the file extension
PCRE2 (PHP >=7.3)
Match all periods except the file extension
Submitted by
anonymous
-
2 years ago
0
Missing copyright detector for Rider (PCRE2)
PCRE2 (PHP >=7.3)
Detects one match per file if that file is missing the expected copyright text. This works with JetBrains Rider IDE. If you are using Visual Studio (.NET), you can replace the \Q and \E with \b
Submitted by
Kris Morness
-
2 years ago
0
Name title checker
PCRE2 (PHP >=7.3)
For things like Mr. Xyz, or Jr. Abcd.
Submitted by
anonymous
-
2 years ago
0
Among us detector
PCRE2 (PHP >=7.3)
Detects among us in various formats.
Submitted by
anonymous
-
2 years ago
0
Ending with New line or Blank Space
PCRE2 (PHP >=7.3)
this expression can be added to the end of a regular expression to match words which can end with NEW LINE or BLANK SPACE.
Submitted by
J. V. L. Alves
-
2 years ago
2
Max 30 Characters excluding brackets
PCRE2 (PHP >=7.3)
This is a simple regex for 30 characters limit excluding brackets
Submitted by
jusuchin85
-
2 years ago
(Last modified 2 years ago)
0
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
2 years ago
0
Trim leading filename id
PCRE2 (PHP >=7.3)
Removes two numbers and an underscore
Submitted by
anonymous
-
2 years ago
0
Find a word after an immediate pattern of characters
PCRE2 (PHP >=7.3)
This is done for finding data that is allocated after a defined pattern of letters. In this case the example is, after MID, finding the MID number in a raw data string.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
2 years ago
0
Password policy (password requires three out of the four character types)
PCRE (PHP <7.3)
A password must consist of at least fifteen characters. A password must contain a character from at least three of the following four sets: A-Z a-z 0-9 !@#$%^&*_-+=?|\/(){}[]:,.;...
Submitted by
RGT, Mast
-
2 years ago
0
正規表現例
PCRE2 (PHP >=7.3)
正規表現の例です
Submitted by
anonymous
-
2 years ago
0
Branch naming policy for internal GitHub
PCRE2 (PHP >=7.3)
To enforce branch names to include specific prefix and not allow some special characters.
Submitted by
TParry
-
2 years ago
0
Money format
PCRE2 (PHP >=7.3)
Any money format
Submitted by
anonymous
-
2 years ago
0
Find next valid markup element of XML content
PCRE (PHP <7.3)
I created the regexp using the XML-specificaton (https://www.w3.org/TR/xml), but in a simplified format (for example allowing only a narrowed set of tag-name characters). The regular expression is a recursive regexp with backreference. I do not tested extensively the regex with a regex-directed engi...
Submitted by
GyRos
-
2 years ago
0
Snap Regex
PCRE2 (PHP >=7.3)
Pull property names snap Json
Submitted by
anonymous
-
2 years ago
0
Name regex
PCRE2 (PHP >=7.3)
Custom name validation
Submitted by
anonymous
-
2 years ago
1
...
78
79
80
81
82
...
593
Password policy (password requires three out of the four character types)
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?=
.
*
\d
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
|
(?=
.
*
\d
)
(?=
.
*
[
a
-
zA
-
Z
]
)
(?=
.
*
[
!@#$%
\^
&
\*\_\-
+=
\?
|
\/\(\)\\
{}
\[\]
:<>,
\.
;
]
)
|
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
!@#$%
\^
&
\*\_\-
+=
\?
|
\/\(\)\\
{}
\[\]
:<>,
\.
;
]
)
)
(?=
\S
+
$
)
.
{15,}
/
gm
Open regex in editor
Description
A password must consist of at least fifteen characters.
A password must contain a character from at least three of the following four sets:
A-Z
a-z
0-9
!@#$%^&*_-+=?|/(){}[]:<>,.;
No whitespaces
Submitted by
RGT, Mast
-
2 years ago