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 5,760 community submitted regex patterns...
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
-
a year 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
-
a year ago
1
searchjsonmutikey
PCRE2 (PHP >=7.3)
jsonmultikey
Submitted by
anonymous
-
a year ago
1
Find passwords in logs
PCRE2 (PHP >=7.3)
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
a year 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
-
a year 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
-
a year ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year 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
-
a year ago
1
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
a year 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
phones
ECMAScript (JavaScript)
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a year ago
1
shopee live video
PCRE2 (PHP >=7.3)
regex for shopee live video
Submitted by
lavi
-
a year ago
1
shopee share link from mobile
PCRE2 (PHP >=7.3)
regex for shopee share link in mobile app
Submitted by
lavi
-
a year ago
1
shopee video
PCRE2 (PHP >=7.3)
regex for share shopee video from mobile app
Submitted by
lavi
-
a year ago
1
shopee url from desktop browser
PCRE2 (PHP >=7.3)
regex for shopee url from desktop browser
Submitted by
lavi
-
a year ago
1
lazada product desktop
PCRE2 (PHP >=7.3)
lazada url product desktop
Submitted by
lavi
-
a year ago
1
lazada campaign
PCRE2 (PHP >=7.3)
regex lazada campaign url
Submitted by
lavi
-
a year ago
1
lazada share mobile url
PCRE2 (PHP >=7.3)
regex for lazada share link from mobile apps
Submitted by
lavi
-
a year ago
1
Catch multiline escaped text between quotes
ECMAScript (JavaScript)
Catch multiline escaped text between quotes: Catch quotes It is a functional component...
Submitted by
David Blanchard
-
a year ago
(Last modified a year ago)
1
...
74
75
76
77
78
...
288
Phone Number
0
Regular Expression
ECMAScript (JavaScript)
/
[
\+\(
]
{0,2}
\d
{1,4}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
/
g
Open regex in editor
Description
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago