Regular Expressions 101

Library entries

Complete imgur link regex

Vote

4

Regular Expression
python

"
(^(http|https):\/\/)?(i\.)?imgur.com\/((?P<gallery>gallery\/)(?P<galleryid>\w+)|(?P<album>a\/)(?P<albumid>\w+)#?)?(?P<imgid>\w*)
"
gm

Description

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