for example:
I have the following string
"somestringthatcanbeanything theStringBeforeTheNumber20.47theStringAfterTheNumber somestringthatcanbeanything"
so the number is always between
theStringBeforeTheNumber{number}theStringAfterTheNumber
What I want is to extract the number from the whole string, how can I do that? im using scala how should my regex look like? val myRgx: Regex = """myRegexGoesHere""".r