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 200 community submitted regex patterns...
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)
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)
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)
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)
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)
Message Log
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-08-13 18:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract columns names from any select query
Golang
This regex can capture any column name from a select query. Be the original name, like are named on table, renamed with a reserved word AS or even without explicit AS. Go on, and test with your query ;)
Submitted by
Jefferson Gouveia
-
5 years ago
2018-06-28 19:25
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)
[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 - 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)
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)
getfreessimg
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-04-21 03:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Last Name & Comma Regex
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-04-21 02:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Gateway plugins filename
Golang
This regular expression is used to validated the filename of Gateway plugins.
Submitted by
Julien BREUX
-
6 years ago
2018-03-16 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
recipes
Golang
no description available
Submitted by
anonymous
-
6 years ago
2018-01-22 14:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for C-style assignments
Golang
no description available
Submitted by
cemares
-
6 years ago
2018-01-07 22:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Checks for PHP classes with namespaces that haven't been imported.
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-12-16 04:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find ip and link full
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-11-27 09:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find ip, link
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-11-24 10:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SuperJS: variable initializement
Golang
Matches a variable with the following syntax; = example string foo = ...
Submitted by
Jordy van Domselaar <jordy.van.domselaar@outlook.com>
-
6 years ago
2017-11-12 18:26
1
...
6
7
8
9
10
Go Gmail Date Reply Line
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
On
\s
[
a
-
z
]
{3}
,
\s
[
0
-
9
]
{1,2}
\s
[
a
-
z
]
{3,4}
\s
[
0
-
9
]
{4}
\s
at
\s
[
0
-
9
]
{1,2}
:
[
0
-
9
]
{1,2}
,
\s
[^
<
]
*
<
[
a
-
z0
-
9._%+
\-
]
+
@
[
a
-
z0
-
9.
\-
]
+
\.
[
a
-
z
]
{2,6}
>
\s
wrote:
`
gmiU
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
5 years ago
2018-10-16 18:44