Re: Pattern match woos

2001-12-05 Thread Leon
- Original Message - From: "Dermot Paikkos" <[EMAIL PROTECTED]> > Hi there, > This is both frustrating and embarrassing. I can't capture the > following data into a variable. The line I want is: > GIAZUC00 > > I have tried a multitude of Regex, none seems to be working. Here's > my last at

Re: Pattern match woos

2001-12-05 Thread Maxim Berlin
Hello Dermot, Wednesday, December 05, 2001, Dermot Paikkos <[EMAIL PROTECTED]> wrote: DP> Hi there, DP> This is both frustrating and embarrassing. I can't capture the DP> following data into a variable. The line I want is: DP> GIAZUC00 DP> I have tried a multitude of Regex, none seems to be w

RE: Pattern match woos

2001-12-05 Thread Sonia Patel
Hello, I'm currently working with using regexp to extract XML: Try this: open(F,"$i"); while (defined( $p = )) { chomp($p); # Change statement if ($p=~ /^(.+?)/){ $code=$1; print $code; } -Original Message- From: Dermot Paikkos [mailt