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 420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
6 months ago
2023-06-08 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
6 months ago
2023-06-19 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
5 months ago
2023-06-26 18:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Celulares - Tamanho de tela
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-05-28 18:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[229187] - Celular - Memoria Interna
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-05-28 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[229187] - Celular - Tamanho de tela
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-05-29 14:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[229187] - Celular - Tamanho de tela - Invertido ou só número
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-05-29 14:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Message Log
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-08-13 18:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
golang function signature
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-09-06 01:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Domain out of URL
Golang
Regular expression ^(?:https?:)?(?:\/\/)?(?:+@)?(?:www\.)?(+) used below extracts domain with subdomains out of a full url. It skips protocol (ex: https:), "//", "@", www subdomain and then captures everything (ex: domain) before ":" or "/" or end of line.
Submitted by
anonymous
-
5 years ago
2018-10-15 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Go Gmail Date Reply Line
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-16 18:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Reply Line
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-16 18:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
smartax
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-20 15:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding imports
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-03 08:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding imports
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-03 15:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Codeblock Recogniser
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-03 15:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Flag Recogniser
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-17 17:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
abc
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-07 07:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aprs
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-14 10:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Action Rec
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-17 15:06
1
...
15
16
17
18
19
20
21
CPF Number Repetition
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\d
){3}
\.
?
\1
{3}
\.
?
\1
{3}
-
?
\1
{2}
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
TheRockSaysOP
-
10 months ago
2023-02-18 17:28
(Last modified 10 months ago)
2023-02-18 17:40