* and then Marek Kilimajer declared.... > >Im not very good at regex, is there an function that would help me? > >(couldnt see one...) > > > > preg_match('/value\s*=\s*"([0-9]+)"/i', $buffer, $result); > print ("Result:<br />".$result[1]);
Marek, you're a star ;-) I *hate* having to ask someone to do my work, "mastering regular expressions' in going on my christmas wish list! hehe... thanks again... PS: Justin, got it covered. Thanks.. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php