You do not need /g, but /s.
if($file =~/<order>(.*)<\/order>/s){ [download]
Jenda
In reply to Re: Regular Expression XML Searching Help by Jenda in thread Regular Expression XML Searching Help by Anonymous Monk