Alright here is what I have
$string=Something something 1234-123'; //can be an arbitrary amount of digits on each side of hyphen
$numbers=preg_replace("/.*([0-9]*-[0-9]*).*/","$1", $string);
echo $numbers;
This is printing out just "-123", it should be printing out 1234-123. I feel like i'm just missing something really simple here.