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 17,580 community submitted regex patterns...
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
a year ago
0
Session Start/Close
Python
Capturing Start/Close in IRC-logs
Submitted by
Corpset
-
a year ago
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
a year ago
0
Remove XML whitespace
PCRE2 (PHP >=7.3)
Removes whitespace around XML elements and trims the content
Submitted by
anonymous
-
a year ago
0
Match All Words Beginning With 'a'
PCRE2 (PHP >=7.3)
This code can be adapted to match any character or word in a list using a textbox as follows: "^[" & TextBox2.Text & "]\w+" However, for this to work the text in the main textbox needs to be made into a list replacing whitespaces, tabs, carriage returns, etc. with a carriage return. The list doesn...
Submitted by
anonymous
-
a year ago
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
a year ago
0
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
a year ago
(Last modified 7 months ago)
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
a year ago
-1
Discord name with both old and new name support
PCRE2 (PHP >=7.3)
This discord regex supports both the new and the old version of discord names. Old: NAME#[0001-9999] Between 2 and 32 characters....
Submitted by
Fy17
-
a year ago
0
PLDI regex 3
Python
for pldi answer
Submitted by
PlaceReporter99
-
a year ago
0
PLDI regex 2
Python
for pldi answer
Submitted by
PlaceReporter99
-
a year ago
0
PLDI regex 1
Python
For pldi answer
Submitted by
PlaceReporter99
-
a year ago
0
Dyno warning regex
Python
Used to separate things in dyno warning
Submitted by
anonymous
-
a year ago
0
UFUNCTION parser
PCRE2 (PHP >=7.3)
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
a year ago
-1
url matcher 2.0
PCRE2 (PHP >=7.3)
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
a year ago
0
Country Codes (Alpha 2 and Alpha 3)
PCRE2 (PHP >=7.3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
a year ago
0
Hesla ISJ
Python
ISJ
Submitted by
anonymous
-
a year ago
0
100-4300
Python
match 100, 200, 300 upto 4300
Submitted by
anonymous
-
a year ago
0
webforms detection
PCRE2 (PHP >=7.3)
Rule to identify web form collections
Submitted by
Pandurang Patil
-
a year ago
0
async calls in foreach
PCRE2 (PHP >=7.3)
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
a year ago
1
...
32
33
34
35
36
...
879
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