Re: Regex pattern match in perl

2008-12-14 Thread John W. Krahn
explor wrote: Hi Gurus, Hello, I am new to perl and need some help to learn regex in perl. From the below line i need to extract following: Part I 1) $ENVFROM = dapi...@testhost.com 2) $ENVTO1 = te...@etc.com 3) $ENVTO2 = te...@etc.com 4) $ENVTO3 = samt...@abc.com line=EnvFrom: dapi...@tes

Re: Regex pattern match in perl

2008-12-14 Thread Chas. Owens
On Sat, Dec 13, 2008 at 19:35, explor wrote: > Hi Gurus, > I am new to perl and need some help to learn regex in perl. From the > below line i need to extract following: > > Part I > 1) $ENVFROM = dapi...@testhost.com > 2) $ENVTO1 = te...@etc.com > 3) $ENVTO2 = te...@etc.com > 4) $ENVTO3 = samt...

Regex pattern match in perl

2008-12-14 Thread explor
Hi Gurus, I am new to perl and need some help to learn regex in perl. From the below line i need to extract following: Part I 1) $ENVFROM = dapi...@testhost.com 2) $ENVTO1 = te...@etc.com 3) $ENVTO2 = te...@etc.com 4) $ENVTO3 = samt...@abc.com line=EnvFrom: dapi...@testhost.com, HdrTo: , EnvTo: