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 340 community submitted regex patterns...
0
Unreal Engine (UE_LOG) Parser - GoLang version
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
-
3 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
3 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
3 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
3 years ago
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
3 years ago
0
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
3 years ago
0
Name and ID in curly braces
.NET 7.0 (C#)
For a string that starts with '{' and ends with '}' looks for a name and id value within the curly braces. The name group should be trimmed when used to remove leading and trailing whitespace. Ex. {Test10} will result in 2 groups being returned Group 1: Test Group 2: 10
Submitted by
Ryan Felton
-
3 years ago
0
Wordle Result
Golang
A Regular Expression for the result of a Wordle, that can be shared after completing the Wordle of the Day.
Submitted by
Varun R Gupta
-
3 years ago
0
Наличие слова без учета регистра в тексте
.NET 7.0 (C#)
Наличие слова без учета регистра в тексте
Submitted by
anonymous
-
3 years ago
0
gubas2549-knju@force.com
.NET 7.0 (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
3 years ago
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
3 years ago
0
List of email validation
.NET 7.0 (C#)
Validate a list of emails separated by a semicolon. Supports emails with accents and other alphabets. Valid email: Abc@example.com;Abc.123@example.com;user+mailbox/department=shipping@example.com;éüöä^0@émäil.côm !#$%&'*+-/=?^_`.{|}~@example.com;"Abc@def"@example.com;"Fred Bloggs"@example.com;"Joe.\...
Submitted by
Mib
-
3 years ago
0
NDC
.NET 7.0 (C#)
parses all valid NDC codes with or without hyphens
Submitted by
joe.cox@fortyau.com
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 1
.NET 7.0 (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 3
.NET 7.0 (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 2
.NET 7.0 (C#)
Remove deprecated parameters
Submitted by
anonymous
-
3 years ago
0
篩選MP Log Day
.NET 7.0 (C#)
篩選MP Log Day
Submitted by
anonymous
-
3 years ago
0
find email addresses
Golang
find email addresses
Submitted by
anon
-
3 years ago
(Last modified 3 years ago)
0
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
2 years ago
0
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
2 years ago
1
...
5
6
7
8
9
...
17
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?>
(?'protocol'
[
a
-
zA
-
Z
]
+
)
://
)?
(?'domain'
[
a
-
zA
-
Z0
-
9.
\-
_
]
*
)?
(?>
:
(?'port'
\d
{1,5}
)
)?
/
(?'path'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
(?:
(?>
\?
(?'query'
[
a
-
zA
-
Z0
-
9_
\-
=&%
]
+
)
)
(
)
|
(?>
#
(?'anchor'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
)
(
)
){0,2}
$
"
gm
Open regex in editor
Description
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)