Regular Expressions 101

Library entries

Find Reddit Threads

Vote

7

Regular Expression
python

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

Description

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