Regular Expressions 101

Library entries

0
pcre

jiggl

toggl track to jira
Submitted by anonymous - a day ago
0
dotnet

Youtube Video Id

Matches the video Id in Youtube URL.
Submitted by CW - 4 days ago
0
python

Author cite

Get author names from shitty import
Submitted by anonymous - 9 days ago
0
dotnet

for killerswim

a
Submitted by anonymous - 10 days ago
0
pcre

strip host port

removes port number from URL
Submitted by pc - 13 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 16 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 16 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 17 days ago
0
python

PLDI regex 3

for pldi answer
Submitted by PlaceReporter99 - 18 days ago
0
python

PLDI regex 2

for pldi answer
Submitted by PlaceReporter99 - 18 days ago
0
python

PLDI regex 1

For pldi answer
Submitted by PlaceReporter99 - 18 days ago

Find ytdlp downloaded file path

Vote

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 - 3 months ago