Simply do \d+x\d+
or:
This uses a look ahead (?=
) to match every \d+x\d+
when it appears before .jpg
solved filter a part of an url that goes like image-123-123 regex
Simply do \d+x\d+
or:
This uses a look ahead (?=
) to match every \d+x\d+
when it appears before .jpg
solved filter a part of an url that goes like image-123-123 regex