Regular Expressions 101

Community Patterns

Storyblok Assets

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<id>\/f\/\d+\/\d+x\d+\/\w+\/[^\/]+)\/?(?<modifiers>m\/?(?<crop>\d+x\d+:\d+x\d+)?\/?(?<resize>(?<width>\-?\d+)x(?<height>\-?\d+))?\/?(?<filters>filters\:[^\/]+)?)?$
/
gm

Description

Match paths for a.storyblok.com

Submitted by anonymous - a year ago (Last modified a year ago)