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,040 community submitted regex patterns...
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
Email input validation
ECMAScript (JavaScript)
Regex to validate an email input with the following rules... Whole address: Up to 254 characters. Case insensitive. Username and domain separated by @ symbol....
Submitted by
chCharly
-
2 years ago
(Last modified 2 years ago)
0
IPv4 input field validator
PCRE (PHP <7.3)
Use It for partial/complete IPv4 address input text checking. OK examples: 19 / 192. / 192.168.1 / 192.168.1.1 / 0.0.0.0 KO examples: 1A / 01 / 192.168..1
Submitted by
José Luis García Morillo
-
2 years ago
0
Match any number greater than 14 using regexp
ECMAScript (JavaScript)
Any number greater than 14 means: Any number with 3 or more digits with possible leading 0's Any number with 2 digits where the first digit in in the character class [2-9] Any number with 2 digits where the first digit is 1 and the second digit in in the character class [5-9] Inspired by:...
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
Pascal Case - no digits allowed
ECMAScript (JavaScript)
To be proper pascal case with no digits allowed, a word: MUST start with an upper 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 CAN end in an uppercase alphabet...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Pascal Case - digits allowed
ECMAScript (JavaScript)
To be proper pascal case a word with digits allowed and with upto 3 upper case letters, a word: MUST start with an upper 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 CAN end in an upperca...
Submitted by
anonymous
-
2 years ago
0
Pascal Case - no digits allowed - Upto 3 upper case letters
ECMAScript (JavaScript)
To be proper pascal case a word with no digits allowed and with upto 3 upper case letters, a word: MUST start with an upper 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 upp...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Pascal Case - digits allowed - Upto 3 upper case letters
ECMAScript (JavaScript)
To be proper pascal case a word with digits allowed and with upto 3 upper case letters, a word: MUST start with an upper case alphabet (A through Z) MUST have no spaces, punctuation or special characters CAN have at most 3 uppercase alphabets in a row CAN end in an uppercase alphabet ...
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
111
ECMAScript (JavaScript)
111
Submitted by
Alex
-
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
IPv4 w/ w/o port validation and localhost string supported
PCRE (PHP <7.3)
IPv4 w/ w/o port validation and localhost string supported
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
password
PCRE (PHP <7.3)
validates password to Contain a-zA-Z0-9 and optional characters !$#@%
Submitted by
anonymous
-
2 years ago
0
itemku regex youtube
ECMAScript (JavaScript)
sdfsdfsdf
Submitted by
anonymous
-
2 years ago
1
...
510
511
512
513
514
...
902
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
\-
_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
"
ig
Open regex in editor
Description
A neat regular expression to extract web urls and emails from a paragraph or a text stream.
Submitted by
kosalanuwan
-
2 years ago