Regular Expressions 101

Community Patterns

8

repeat group match

Python
no description available
Submitted by anonymous - 9 years ago
9

domain - host

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