Regular Expressions 101

Community Patterns

1

GrEedy

Python
greedy or no greedy_**
Submitted by daen3r1s - 3 days ago
1

Funny Discord Thing

.NET (C#)
Submitted by Deniz-seckin55 - a month ago
1

emoji-test.txt

Python
emoji-test.txt
Submitted by anonymous - a month ago
1

html <Title>

Java 8
htnle
Submitted by erichologist - a month ago

Find ytdlp downloaded file path

0

Regular Expression
Python

r"
(?:(?# Pattern before filename )(?:\[download\] )?Destination: (?# )|(?# )\[download\] (?# )|(?# )Adding metadata to \"(?# ))(?# )((?# CAPTURE GROUP: filename pattern )\/?[^\/\\\n]+(?:\/|\\)(?# Capture first folder )(?:(?# )[^\n\.]*(?# Stop capturing if point, to check )(?!\.f\d{1,4}\.(?:webm|mov|mp4))(?# Checking this is not a partial download )\.(?# Can now capture the point ))+(?# )(?:webm|mov|mp4)(?# ))(?# )\n?
"
gm

Description

Loading markdown...
Submitted by ezalos - 7 months ago
(Last modified 6 months ago)