I have the following string:
WOA: 1234-123 - Text Text Text Text
or
WOA 0123 Text Text Text
or
WOA 012345678 - Text Text Text
I need to get only Numbers from those strings (If number contains dashes inside I need those dashes too, but if dash at the end, I don't need it). I know that I could do it using ASCII codes, but with Regex it will looks much better, but my knowledge in Regex very limited, so any help, please.