Edited question because it was misunderstood.
Ex : I own these two strings of 5 pairs :
Line 1 : 0102030405
Line 2 : 0102203035
and I want to find 01 and 02 and 03 (for example) ; the expected result is :
matches : 0102030405
does not match : 0102203035
And if I want to find 01 and 02 and 30 (for example) ; the result I want is :
does not match : 0102030405
matches : 0102203035
Each pair is in a position modulo 2 (of course)
What regex pattern can I use ?
Thank you for the help !