I am trying to find all RGB numbers, that have 2x3 consecutive numbers. By that, I mean this sort of numbers:
\#00FF11
\#66AA44
\#FF0000
I have tried writing this:
\b#(([0-9a-zA-Z])\1){3}\b
but that doesn't work.
Where is the problem? I would probably say, that the problem is somewhere around the \1, because it's the only part I am not so sure about.