Hi,
I could'nt find a regex forum so being as im using VB at the moment, ill post here.
Im trying to test if a string contains 2 consecutive pairs e.g.
323535577091 true (5577)
312339565444 false
The closest i've got is (\d)\1(\d)\1
but this only matches if the 2 pairs are the same -
e.g.234333353 (3333)
Can anyone help please?
Thanks,
Rich
I could'nt find a regex forum so being as im using VB at the moment, ill post here.
Im trying to test if a string contains 2 consecutive pairs e.g.
323535577091 true (5577)
312339565444 false
The closest i've got is (\d)\1(\d)\1
but this only matches if the 2 pairs are the same -
e.g.234333353 (3333)
Can anyone help please?
Thanks,
Rich