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...
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
2 years ago
1
Match typescript filenames excluding .d.ts files
ECMAScript (JavaScript)
Match typescript filenames excluding .d.ts files This RegExp matches, ts tsx...
Submitted by
@yumyum-web
-
2 years ago
1
searchjsonmutikey
PCRE2 (PHP >=7.3)
jsonmultikey
Submitted by
anonymous
-
2 years ago
1
Find passwords in logs
PCRE2 (PHP >=7.3)
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
2 years ago
1
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
2 years ago
(Last modified 2 years ago)
1
Replace FOSUserBundle controller attributes to Symfony #[Route] attribute
PCRE2 (PHP >=7.3)
Substitute AbstractFOSRestController Routing attributes by Symfony Routing attribute \#[Route] move HTTP method to methods:[''] and use #[Route] attribute #[Rest\Get('/corbeilles')] #[Rest\Post('/corbeille/restore')] #[Rest\Delete(path: '/chapitres/{id}', requirements: ['id' => '\d+'])]...
Submitted by
anonymous
-
2 years ago
1
Лямбды для OneScript
.NET 7.0 (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
2 years ago
1
Regex Card Name - Custom
.NET 7.0 (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
2 years ago
1
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
2 years ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
2 years ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
2 years ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
2 years ago
1
Conventional Commits for commitcheck.com
PCRE2 (PHP >=7.3)
Conventional Commits is a specification for adding human and machine readable meaning to commit messages. CommitCheck is a GitHub app that ensures commit messages, PR titles and PR descriptions are consistent and contain required information. However, CommitCheck supports only ruby regular express...
Submitted by
https://github.com/CCXXXI
-
2 years ago
1
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
2 years ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
2 years ago
1
BadDomainNamesDetected
PCRE2 (PHP >=7.3)
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
2 years ago
1
I select (.*) and generate Print Statement for \"(.*?)\" with \"(.*?)\"?$
PCRE2 (PHP >=7.3)
I select (.) and generate Print Statement for \"(.?)\" with \"(.*?)\"?$
Submitted by
anonymous
-
2 years ago
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
2 years ago
1
auto-gpt- parse system cmd
Python
auto-gpt- parse system cmd
Submitted by
anonymous
-
2 years ago
1
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
2 years ago
1
...
276
277
278
279
280
...
902
Community Library Entry
0
Regular Expression
Python
r"
(?:
in
the
arbitration
proceedings
(?:
between
)?
|
(?<=
Claimant
)
(?:
\w
*
)
?
[
-–
]
(?:
\s
*
and
)?
)
\s
*
(
[
a
-
zA
-
Z
]
[^
\n
,
]
+
)
.
*
(?:
\n^
(?:
*
[^
\s
\-
–
]
.
*
|
+
)?
)*
?
[
-–
]
?
(?:
\w
*
)
Claimant
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago