I have some string like Western Australia 223/5 (59.3 ov)
I would like to split this string and extract the following informations with regular expressions
$team = 'Western Australia'
$runs = 223/5
$overs = 59.3
Issue is, format of the text is varying, it may any of the follwing
- Western Australia 223/5 (59.3 ov)
- Australia 223/5 (59.3 ov)
- KwaZulu-Natal Inland
- Sri Lanka v West Indies
Any help (like is it possible to have in a single regexp) will be appreciated..