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 140 community submitted regex patterns...
0
Names from Wikipedia List
.NET 7.0 (C#)
Matches all names in a Wikipedia List, excluding names with suffixes (eg. Jr., III, PhD, etc.) or multiple middle names.
Submitted by
Brian Kozub
-
2 years ago
0
CAN regex
.NET 7.0 (C#)
n
Submitted by
anonymous
-
2 years ago
0
P4 file info
.NET 7.0 (C#)
just p4 file command output match
Submitted by
anonymous
-
2 years ago
0
SSID Pattern
.NET 7.0 (C#)
Length must be 7 digits Every character must be an integer
Submitted by
Abhi Reddy
-
2 years ago
(Last modified 2 years ago)
0
Initials
.NET 7.0 (C#)
get the initial of a strings
Submitted by
Eddie Choong
-
2 years ago
0
URL
.NET 7.0 (C#)
(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by
anonymous
-
2 years ago
0
IP Table Parse IPID
.NET 7.0 (C#)
Match 1 is the IPID
Submitted by
Tres Little
-
2 years ago
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
2 years ago
0
title and page
.NET 7.0 (C#)
find title and page in text
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
7zip file type regex
.NET 7.0 (C#)
header of output from > 7z i
Submitted by
ninmonkey
-
2 years ago
0
custom email
.NET 7.0 (C#)
custom email
Submitted by
anonymous
-
2 years ago
0
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
0
sdfsfd
.NET 7.0 (C#)
sdfdsf
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
2
Zoom links, only with passwords
.NET 7.0 (C#)
Group 1 will have meeting id, group 2 will have password
Submitted by
anonymous
-
2 years ago
0
Username regex
.NET 7.0 (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
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
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
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
URLs and Emails RegEx
.NET 7.0 (C#)
A neat regular expression to extract web urls and emails from a paragraph or a text stream.
Submitted by
kosalanuwan
-
2 years ago
1
...
3
4
5
6
7
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