Regular Expressions 101

Community Patterns

10

entity

Python
no description available
Submitted by anonymous - 8 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