Im getting total 12 matches numbers from the regex but i only want the even number

i understand but what is var1 mod 2=0?