I have several lines of text such as:
"you current have 194764bleh notifications"
"you current have 32545444bleh notifications"
"you current have 8132bleh notifications"
"you current have 93bleh notifications"
What's the best way to get the integers from the text ?
Currently using line.split
twice, once for "have" and then once for "bleh".
It seems really inefficient doing that just to get the integers.
Are there any better ways to do that?