Regular Expressions 101

Community Patterns

updated gettyimages link and id extractor

0

Regular Expression
ECMAScript (JavaScript)

/
(?:https?:\/\/)?(?:www\.)?(?:gettyimages|gty)\.(?:\w+)\/(?:license|detail|detail\/photo\/(?:\w|\-)+)\/((?:\-|\w)+)(?:\w|&|=|\?)*
/
i

Description

no description available

Submitted by anonymous - 7 years ago