Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-01-12 03:38
Flavor·PCRE (Legacy)

/
^(([a-z]+)_([0-9]+)(_([0-9]+))*)\-([0-9]+)x([0-9]+)\-([0-9]{1})([0-9abcdef]{6}){0,1}\.(jpg|gif|png)
/
Open regex in editor

Description

this is the starting regex for breaking up the cache image url into it's parts

Submitted by anonymous