Regular Expressions 101

Community Patterns

0

regex_bl_fees_types

PCRE2 (PHP >=7.3)
guif
Submitted by guif - 2 years ago
0

Messages

ECMAScript (JavaScript)
Show messages
Submitted by Bot - 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