in reply to Extracting information from multiple files in a directory
while (<INPUT>) { if(/<notes[^>]*>/i .. /<\/notes>/i){ strip the tags; print; } } [download]