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 2,840 community submitted regex patterns...
1
Select songs starting with 3+ numbers but not 1|2
PCRE2 (PHP >=7.3)
Select songs starting with odd numbers like 3+ numbers(001 - song.mp3, 000004 - song.mp3), but not simple ones 1|2 like (01 - song.opus or 1 - song.mp3) : 01 - The Black Eyed Peas - The Time (Dirty Bit).opus 0000000 - Nelly Furtado - Say It Right.mp3 ...
Submitted by
anonymous
-
2 years ago
1
capitalAfterVowel
PCRE2 (PHP >=7.3)
Given a string, make every consonant after a vowel uppercase.
Submitted by
anonymous
-
2 years ago
1
UNC Path Component Validation - Sharename
.NET 7.0 (C#)
There are specific requirements for the different components of a UNC path. While it's possible to try and validate the entire UNC path in one go, you quite often end up needing to break the path down anyway unless simply handing it off to some other library (in which case they should be providing v...
Submitted by
thejamesdecker
-
2 years ago
1
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
PCRE2 (PHP >=7.3)
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
Submitted by
anonymous
-
2 years ago
1
Unfallversicherung Unternehmensnummer (UNR.S)
PCRE2 (PHP >=7.3)
Unfallversicherung Unternehmensnummer (UNR.S) Dieser reguläre Ausdruck prüft, ob eine mögliche syntaktisch richtige Unternehmensnummer (UNR.S) vorliegt. Eine Unternehmensnummer je Unternehmen ersetzt ab dem 01.01.2023 die vielen Systeme von Mitgliedsnummern bei Berufsgenossenschaften, der Sozialve...
Submitted by
Benjamin Butschko (LOHNunion GmbH)
-
2 years ago
1
smartctl regex
PCRE2 (PHP >=7.3)
Regex for smartctl output
Submitted by
anonymous
-
2 years ago
1
Worse smartctl regex
PCRE2 (PHP >=7.3)
Regex for smartctl output, but worse.
Submitted by
anonymous
-
2 years ago
1
USA phone matcher
PCRE2 (PHP >=7.3)
Regex for matching usa number like: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555...
Submitted by
Arif
-
2 years ago
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
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 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
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
-
a year 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
-
a year ago
1
Get python function declaration
Rust
Gets the python function declarations
Submitted by
anonymous
-
a year ago
1
...
13
14
15
16
17
...
142
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago