in reply to Re^2: Extracting the few useful lines from HTML garble
in thread Extracting the few useful lines from HTML garble

Ok. If you want the whole line, then just change my code above to (provided that "/Inbox/email.EML" is on every line. Since I can see only one line I have no idea which are the static and which the variable parts):

while (<F>) { $theline=$_ if ( m{/Inbox/email\.EML}xms ); }

If this is not the answer you want, you have to be more specific

By the way, I just notice that you wrote EMl in your first post, which looks exactly like EMI in my web browser. So to get my first code snippet above to work, you have to change EMI to EML there.