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,200 community submitted regex patterns...
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
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
0
custom email
.NET 7.0 (C#)
custom email
Submitted by
anonymous
-
2 years ago
0
number two decimal digit
Python
.
Submitted by
anonymous
-
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
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
AyL
Python
Example of re and substitutions with csv file
Submitted by
Ing Daniel Pérez
-
2 years ago
0
Postcodes
Python
This identifies whether a postcode (four numbers, two letters has been provided)
Submitted by
anonymous
-
2 years ago
0
Project
Python
Project
Submitted by
anonymous
-
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
valid date
Python
this regular expression is for validating dates in yyyy-mm-dd format
Submitted by
anonymous
-
2 years ago
0
extract title and page from ocr of pdf content by carlleonhard
Python
extract title and page from ocr of pdf content by carlleonhard
Submitted by
carlleonhard
-
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
foengz1
Python
htmltag
Submitted by
Foengz
-
2 years ago
0
Changed files in "git pull" output.
Python
Get the changed files from the "git pull" output. Use finditer to get a list of Matches.
Submitted by
anonymous
-
2 years ago
0
Python find {vars}
Python
Find every used variable in string between { and }
Submitted by
anonymous
-
2 years ago
0
Prefixed numerics
Python
Search regex for prefixed numerics (kB, Mb. ms. kHz etc.)
Submitted by
delameter
-
2 years ago
0
Sizes
Python
Getting sizes, formatted as in x or x. It supports up to 3 digits, with an additional, optional, decimal digit. The decimal point could be a comma, a point or even an apostrophe ( ' ).
Submitted by
Hermes
-
2 years ago
0
Split URL
Python
source = "https://regex101.com/r/Y5b7zZ/3" result = ("https", "regex101.com", "/r/Y5b7zZ/3") `
Submitted by
saparapat
-
2 years ago
1
...
97
98
99
100
101
...
110
link
-2
Regular Expression
Python
r"
src=
[
'
"
]
(
[
http
]
+
s
?
\S
*
)
[
'
"
?
]
?
|
href=
[
'
"
]
(
[
http
]
+
s
?
\S
*
)
[
'
"
?
]
?
"
g
Open regex in editor
Description
no description available
Submitted by
NTP-[SADAS]
-
10 years ago