Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,340 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
finding correct assignment statements part 3
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 20:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BUN
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 19:12
(Last modified 3 years ago)
2021-02-26 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
9 digit mid IMB
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 18:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
6 digit mid IMB
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 18:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Split on Letters, Numbers, and Dashes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 17:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
atleast one alphabet and only +_-@ specials
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 12:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get first number from string
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-26 00:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ReName_01_
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-25 15:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
6 digit Sort Code without dashes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-25 12:34
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Dutch streetnames + housenumber + extension
PCRE2 (PHP >=7.3)
Validates a streetname + housenr + extension Somestreet 12 b
Submitted by
anonymous
-
3 years ago
2021-02-25 08:07
(Last modified a year ago)
2022-10-20 10:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Dup words
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 15:57
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Dutch zipcodes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 15:54
(Last modified 3 years ago)
2021-02-24 16:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Dutch mobile phone number
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 15:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Aplayer Icons Regex
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 06:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cisco command
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minify HTML
PCRE2 (PHP >=7.3)
Remove Whitespace Remove Comment
Submitted by
Habibi Mustafa
-
3 years ago
2021-02-24 04:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get main content if has :
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-02-24 02:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE2 (PHP >=7.3)
A valid Email
Submitted by
AiAbdrahim
-
3 years ago
2021-02-24 00:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE2 (PHP >=7.3)
no description available
Submitted by
AiAbdrahim
-
3 years ago
2021-02-24 00:09
(Last modified 3 years ago)
2021-02-24 00:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL
PCRE2 (PHP >=7.3)
This pattern can detect URLs.
Submitted by
anonymous
-
3 years ago
2021-02-23 23:29
1
...
109
110
111
112
113
114
115
...
117
Estrazione numeri scheda mail generali
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<!
\d
)
\d
{6,7}
(
[^
a
-
zA
-
Z
\d
:
]
+
\d
{1,2}
){0,}
(?!
\d
)+
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-30 11:35