Hello,
I have this group of files that I categorized by using [Hxxx][Oxxx]; where xxx is values between 000 and 999, in the beginning I though that I need [O000] or [H000] or fixed values like [H003][O005] but later on I found that sometimes I need to use more than or lesser than as a filter (for example the value in H category is more then 005 and in O group less then 003) and valid filter for both categories.
Here are some examples
IMG-20221114-WA0050_[H001][O000].jpeg
IMG-20230213-WA0053_[H001][O012].jpeg
IMG-20230427-WA0023_[H001][O002].jpeg
IMG-20230610-WA0032_[H000][O001].jpeg
IMG-20230924-WA0040_[H002][O001].jpeg
IMG-20231002-WA0041_[H000][O004].jpeg
IMG-20240421-WA0009_[H002][O003].jpeg
Regards
number filtering
Re: number filtering
addcolumn:1;2 regex:\[H(\d\d\d)\]\[\O(\d\d\d)\] INT($1:)>5 INT($2:)<3Re: number filtering
thank for your rapid reply.
working perfectly, thanks a lot
Best regards
working perfectly, thanks a lot
Best regards
Re: number filtering
OMG!
Thank you so much for this! I was up until 2 am trying to figure out regex's for use in BRU and bouncing all over the place trying to figure things out.
With this, I understand it, it's practical, and I can tweak it for TV show episodes, etc:
You rock!!
Thank you so much for this! I was up until 2 am trying to figure out regex's for use in BRU and bouncing all over the place trying to figure things out.
With this, I understand it, it's practical, and I can tweak it for TV show episodes, etc:
Code: Select all
addcolumn:1;2 regex:S(\d\d)E(\d\d) INT($1:)>2 INT($2:)<3Re: number filtering
Quick tip:
To also find single-digit seasons or episodes, like S2E12 and S12E1:
\d{1,2} = 1 or 2 digits
To also find single-digit seasons or episodes, like S2E12 and S12E1:
Code: Select all
addcolumn:1;2 regex:S(\d{1,2})E(\d{1,2}) INT($1:)>2 INT($2:)<3