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,000 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
group & substitute
PCRE (PHP <7.3)
attempting to isolate and substitute (replace) in PCRE.
Submitted by
ABc3P0
-
2 years ago
0
CEP Regex Brazil
PCRE2 (PHP >=7.3)
Regex para validação de CEP
Submitted by
Jasmini Santos
-
2 years ago
(Last modified 2 years ago)
0
Amazon AWS Access Key ID (Legacy)
ECMAScript (JavaScript)
{ "Expressions": { "Amazon AWS Access Key ID (Legacy)": { "Expression": "AKIA[0-9A-Z]{16}", "Unit-Tests": [ {...
Submitted by
Jacob Sanders
-
2 years ago
0
get custom emoji
PCRE2 (PHP >=7.3)
Hello :smiley: i love :chocolate:
Submitted by
anonymous
-
2 years ago
0
Email Regex 320 chars
PCRE2 (PHP >=7.3)
Email Regex 320 chars
Submitted by
anonymous
-
2 years ago
0
Key - Value extractor
Java 8
Key - Value extractor
Submitted by
anonymous
-
2 years ago
0
Replace function declaration with const arrow function
PCRE2 (PHP >=7.3)
Captures a function declaration and changes it to an arrow function with const at the beginning.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Inner field values extraction
Java 8
Inner field values extraction
Submitted by
anonymous
-
2 years ago
0
aws incognito Identity Pool
PCRE2 (PHP >=7.3)
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
2 years ago
0
Color Codes
ECMAScript (JavaScript)
hi
Submitted by
12944qwerty
-
2 years ago
0
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
0
Change GDevelop game to use a different extension name
PCRE2 (PHP >=7.3)
Move all shield-related functions into a new behavior called "Shield". For example: BEFORE: "value": "Health::Health::IsDamageCooldownActive" "value": "Health::Health::RegenShieldWhenZero" ...
Submitted by
Victris Games
-
2 years ago
0
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
2 years ago
0
Cümle içi atıf
ECMAScript (JavaScript)
Yazar ve Yazar (2022)
Submitted by
caner
-
2 years ago
0
Şekil sayı'ek
ECMAScript (JavaScript)
Şekil 1'de Şekil 6.'da Şekil 5'te
Submitted by
anonymous
-
2 years ago
0
bold question mark line
PCRE2 (PHP >=7.3)
bold question mark line
Submitted by
anonymous
-
2 years ago
0
Match number from URL surrounded by slashes
PCRE2 (PHP >=7.3)
Match number from URL surrounded by slashes, except numbers within domain (as it's not surrounded with slashes)
Submitted by
fifle
-
2 years ago
0
for-orth
Java 8
For orth
Submitted by
gastipatis
-
2 years ago
1
...
833
834
835
836
837
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?m)
(?<type>
@param
)
*
\K
(?<scalar>
(?!
[
\$
]
)
\S
+
)?
*
\K
(?<var>
\$
\S
+
)
*
\K
(?<message>
\S
+
.
*
\S
+
)
/
mg
Open regex in editor
Description
Regex used for extract @param in phpdoc
Submitted by
fmargerit
-
2 years ago