> Do you need to use ".*?"? If there will be only white characters, use > \s* instead. >
unfortunately there's some content either side of $file before <item></item> this content is different for each item, so i can't define it in the pattern. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php