Regular Expressions 101

Community Patterns

0

vert-cata

Python
log
Submitted by anonymous - 2 years ago
0

nsv2-general

Python
log
Submitted by anonymous - 2 years ago
0

Tok. test.1

Python
T
Submitted by anonymous - 2 years ago

Find Reddit Threads

10

Regular Expression
Python

r"
(^https?://)?(\w+)?\.?(reddit\.com/|redd\.it/)(r/\w+/)?(comments/)?(\w+)
"
gm

Description

Loading markdown...
Submitted by Mio - 9 years ago