Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?:(?:http|https):\/\/)?(?:www.)?(?:instagram.com|instagr.am|instagr.com)\/(\w+)
/
igm

Description

For instagram URLs. Updated with latest Domain names

Submitted by Suraj Shah - 3 years ago