Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

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