find group of machting characters
I would like to use a RegEx to find a group of machting characters
2020-04-30T14:17:41.581Z <PLC0040:[STX/2]4110168 200001742340020110400201914002019101
this string contains twice : 40020191
but the value of the characters may vary, so instead of the example the following is also possible 12345678.
When the group of characters is known i use:
But now it needs to be more generic. So only looking for a duplication of a group of 8 characters in a string.
How can i do this?
Thanks in advance!
I certainly might be inclined to try