Re: Reg Exp after newline

2012-01-22 Thread John W. Krahn
Lívio Cipriano wrote: Hi, Hello, It's possible to build in Perl a Regular Expression to grab a pattern that extends by two lines ? Yes it is. I want to read a file and know if it's a email message or not, fetching the first Message-Id found. The problem is that some email clients put the

Reg Exp after newline

2012-01-22 Thread Lívio Cipriano
Hi, It's possible to build in Perl a Regular Expression to grab a pattern that extends by two lines ? I want to read a file and know if it's a email message or not, fetching the first Message-Id found. The problem is that some email clients put the Message-Id tag in one line, like this Messa