Anyone any good with Regex? Struggling with this. ...
# announcements
l
Anyone any good with Regex? Struggling with this.
1914   1    5.9     0.9    ---     48.3    ---
What I have so far:
([\d]+)\.*([\s]+)
I just want to extract all the non-whitespace values into an Array.
because there's an unknown number of spaces between each value, so using
.split(" ")
doesnt help.
image.png
You're right, it's just not behaving as I thought it would.
OK, the key is using the
Regex
class.