I have a regular expression:
b[-+]?(?:d{1,3}.)(?:d{3}.)*(?:d*)
(Python) that matches values like this:
12.234.55222
123.222.22
1.245.455.2
22.34565
21.1
221.
Which is what I want.
But it also matches the first 2 parts of a date like this: 08.05.2023
I know this is happening because of the first and the last group, but I don’t know how to prevent that.
I only want to match values that stand by themselves.
Can somebody point me in the right direction?