<?php $query = '4300-test 350 9900'; preg_match_all( '/(([0-9]{1})+([\-]{0,1})+([a-z]{0,1})+(\S{0}))/', $query, $matches = [] ); echo '<pre>'; print_r($matches,false);
You have javascript disabled. You will not be able to edit any code.