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 2,700 community submitted regex patterns...
0
implements Regex
PCRE2 (PHP >=7.3)
To match implements in classes
Submitted by
anonymous
-
2 years ago
0
match extends in a class
PCRE2 (PHP >=7.3)
to match extends in a class
Submitted by
anonymous
-
2 years ago
0
长宽高
PCRE2 (PHP >=7.3)
长宽高
Submitted by
mouxan
-
2 years ago
0
REGEX OS
Java 8
Regex para extrair titulo e descrição duma OS
Submitted by
anonymous
-
2 years ago
0
Password
PCRE2 (PHP >=7.3)
Password includes a,A,1,!$#%
Submitted by
anonymous
-
2 years ago
0
All kinds of stupid Content-Types
PCRE2 (PHP >=7.3)
Some applications send incorrect HEADERS:Content-Type. If it needs to pass the checks (for example, on WAF) this regex maybe used
Submitted by
anonymous
-
2 years ago
0
Camel Case - no digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case a word with no digits allowed, a word: MUST start with a lower case alphabet (a through z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
2 years ago
(Last modified 2 years ago)
0
Camel Case - digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case (with digits allowed) a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
2 years ago
0
Camel Case - no digits allowed - Upto 3 upper case letters
.NET 7.0 (C#)
To be proper camel case a word with no digits allowed and upto 3 upper case letters, a word: Must start with a lower case alphabet (a through z) Must have no digits (0 - 9) MUST have no spaces, punctuation or special characters Can have at most 3 uppercase alphabets in a row Can end in an uppercase ...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Camel Case - digits allowed - Upto 3 upper case letters
.NET 7.0 (C#)
Camel Case - digits allowed - Upto 3 upper case letters To be proper camel case a word with digits allowed and upto 3 upper case letters, a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 3 uppercase alphabets in a ro...
Submitted by
anonymous
-
2 years ago
0
PasCamelCase
PCRE2 (PHP >=7.3)
PasCamelCase A combination of pascal and camel case. PasCamelCase is a lenient case style that is allows a phrase to use either pascal case or camel case rules. In addition, PasCamelCase allows for 2-3 letter acronyms such as Rules For a phrase to be valid PasCamelCase it:...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Validation
PCRE2 (PHP >=7.3)
^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by
anonymous
-
2 years ago
0
Negative lookbehind
.NET 7.0 (C#)
There is not word boundary between the >< and as there seem to be at least 1 or more uppercase characters, then quantifier can be + to match 1 or more times. If you don't want to split at the start of the string, creating an empty entry in the result list, you can assert using a negative lookbehind ...
Submitted by
anonymous
-
2 years ago
0
RTDM_Thread_Pool
PCRE2 (PHP >=7.3)
RTDM_Thread_Pool
Submitted by
anonymous
-
2 years ago
0
basic email validation
PCRE2 (PHP >=7.3)
Basic email regex for quick validation
Submitted by
bUxEE
-
2 years ago
0
Governing Law matcher
PCRE2 (PHP >=7.3)
Nifty RegEx to match commonly-worded Govering Law clauses in agreements and contracts
Submitted by
anonymous
-
2 years ago
0
id_name_fb
PCRE2 (PHP >=7.3)
get id, name from fb link
Submitted by
anonymous
-
2 years ago
0
Username regex
.NET 7.0 (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
2 years ago
0
cyrillic endings for regex declination
PCRE2 (PHP >=7.3)
cyrillic endings for regex declination
Submitted by
https://t.me/seocringe
-
2 years ago
0
Sanitize CSV Export Expression for regex.replace (this regex) with empty string
.NET 7.0 (C#)
see owasp recommendation for things to remove from a csv export. this expression matches on following characters [. , ; + = - @ ' "] also carriage return make sure to clear strings for whitespace and choose your preferred methods for additional security from the examples in the owasp documentation...
Submitted by
anonymous
-
2 years ago
1
...
93
94
95
96
97
...
135
Url
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
:
[
0
-
9
]
{0,5}
)?
(
#
[
\w
]
*
)?
(
(?:
\/
[
\+
~%
\/
.
\w
\-
_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
Port
https://regex101.com/library/cX0pJ8
to PCRE2 (PHP >= 7.3)
Submitted by
semivori
-
3 years ago