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,600 community submitted regex patterns...
0
KPI Dash Drop-In Image Compliance
Python
This regex is designed for end users to test if there image file is name compliant.
Submitted by
Jeremiah Carlson
-
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
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
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
password
PCRE (PHP <7.3)
validates password to Contain a-zA-Z0-9 and optional characters !$#@%
Submitted by
anonymous
-
2 years ago
0
Username regex
.NET 7.0 (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
2 years ago
0
Vampire output formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines printed by the options --show_everything, --show_active, --show_new etc. Run vampire --show_everything on to generate a compatible string.
Submitted by
Filip Bártek
-
2 years ago
0
Vampire proof formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines that contain the proof. Run vampire --proof on to generate a compatible string.
Submitted by
Filip Bártek
-
2 years ago
0
Android Package REgex
Python
Not perfect but works
Submitted by
anonymous
-
2 years ago
0
Camel/pascal case to snake case
Python
Converts camel or pascal case to snake case But it still needs to be converted to lower case
Submitted by
anonymous
-
2 years ago
0
EC21 docs
Python
Get AT explain
Submitted by
anonymous
-
2 years ago
0
... at start or end of line including whitespace
Python
Used to format kaggle dataset
Submitted by
anonymous
-
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
0
sdfsfd
.NET 7.0 (C#)
sdfdsf
Submitted by
anonymous
-
2 years ago
0
group & substitute
PCRE (PHP <7.3)
attempting to isolate and substitute (replace) in PCRE.
Submitted by
ABc3P0
-
2 years ago
0
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
0
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
2 years ago
0
Find any string between quotes
PCRE (PHP <7.3)
Find any string between the first set of quotes Finds...
Submitted by
Brian Caudill
-
2 years ago
1
...
562
563
564
565
566
...
580
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
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 quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago