I need a regular expression to catch bit stuffing - after 5 consecutive bits of the same value one opposite bit is inserted.
e.g
0000010000010