Regular Expressions 101

Community Patterns

1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - 23 days ago
1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 2 months ago
1

Match each tag

Python
Match each tag in a lrc file
Submitted by Cricar - 2 months ago
1

Funny Discord Thing

.NET (C#)
Submitted by Deniz-seckin55 - 3 months ago

URL Regex

2

Regular Expression
.NET (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

Description

Loading markdown...
Submitted by Jonathan - 5 months ago
(Last modified 5 months ago)