* Thus wrote Jeff McKeon ([EMAIL PROTECTED]): > > > > > preg_match_all('($-?[0-9]+\.[0-9]+)', $string, $found); > > print_r($found); > > > > That produces: > > Array ( [0] => Array ( ) ) 0 , Array
Sorry that should be: preg_match_all('/(\$-?[0-9]+\.[0-9]+)/', $string, $found); Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php