I'm trying to find numbers before image extensions (jpg|jpeg|png|bmp|gif|tif). But I want to exclude them if there's an NUMBERSxNUMBERS pattern. My expression is:
(?!\dx\d)[0-9]{1,}.(jpg|jpeg|png|bmp|gif|tif)
TRY WITH THESE: aoi32x453.jpg ser32xa453.jpeg as/as673.jpg x673.png ygt/x673.bmp x673.gif
I need to exclude the matches that contains '\dx\d' before my expression.
I need to be a match: sax73.jpg
But I don't want those with 'NUMBERSxNUMBERS': 35x35.jpg
- ☻ Javascript in Greasemonkey for Firefox Nightly
- ☻ ser32xa453 <<< this 'xa' is to include, but exclude ser32x453