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.
[ds]{8,}
will not work as I don't want white space to contribute to the count of chars captured.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…