I'm trying to extract from a string like this:
$message = #porrabarça per avui @RTorq el @FCBar guanyarà per 3-1 al AC Milan
The '3-1'. As Number - Number
I've tried
$message = preg_replace('/[0-9]\s*-\s[0-9]/i', '', $message);
But it isnt working. It's output is the same as the input.
Can you help me out?