I need to match 8 or more digits, the sequence of which can include spaces.
for example, all of the below would be valid matches.
12345678
1 2345678
12 3 45678
1234 5678
12 34567 8
1 2 3 4 5 6 7 8
At the moment I have \d{8,}
but this will only capture a solid block of 8 or more digits.
[\d\s]{8,}
will not work as I don't want white space to contribute to the count of chars captured.