I have this regular expression to look for numbers in a text that do not belong to a price (in euro):
(?<!EUR )(\d\s*)+
I want it to not match:
EUR 10 000
And I want it to match the numbers in the following cases:
{3}
10 000
347835
The problem I now face is that it matches the numbers I want it to fine, but it does also matches the 0 000 part of the text that I don't want it to match.
Edit:
I want to match all numbers (including spaces in between numbers) unless they are preceded by "EUR ".
To make it more clear what I want to match I will provide all the cases from above and make the things I want to match bold:
EUR 10 000
{3}
10 000
347835
What my regular expression currently matches is:
EUR 10 000
{3}
10 000
347835