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
Date match by CodeZ
PCRE2 (PHP >=7.3)
Matching date patterns for coursera text mining assignment 1.
Submitted by
CodeZ
-
2 years ago
(Last modified 2 years ago)
1
Extract email username from email address
ECMAScript (JavaScript)
This workspace contains the needed ECMAScript regex for use in Cloudflare Workers Email Routing.
Submitted by
~ajhalili2006
-
2 years ago
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
0
Transform a date string into a timestamp
PCRE2 (PHP >=7.3)
Transform a date string like: Mon Nov 10 1957 12:34:56 UTC +08:00 into: 11/10/195 12:34:56
Submitted by
Steve Aughnbaugh
-
2 years ago
(Last modified 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
...
324
325
326
327
328
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
\A
[
a
-
z
]
{2,20}
@
[
a
-
z
]
{2,20}
\.
[
a
-
z
]
{2,5}
\Z
/
g
Open regex in editor
Description
work@ing.yes
Submitted by
Stormyz
-
2 years ago