Regular Expressions 101

Community Patterns

Puush

1

Regular Expression
PCRE (PHP <7.3)

/
(http|https):\/\/(?:www\.)?puu\.sh\/(\w{5})\/(\w{10})\.(\w{3})
/
gi

Description

Regex that matches puu.sh links

Submitted by Jurij - 8 years ago