I'm new to regex and just want to know if its possible to find "overlaping" groups in the matches.
assume the following string:
20122 0029431 7094 0111 5890
I want now all matches which are: 4number+space+4number+space+4number
What I tried is this: [0-9]{4}[\s][0-9]{4}[\s][0-9]{4}
But this just gave me: 9431 7094 0111
What I want are these matches:
- 9431 7094 0111
- 7094 0111 5890
is this possible with regex?