<?php $matches=array(); preg_match("/[0-9]{3}-?[0-9]{3}/", "876-878", $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.