Could some good samaritan help me out with this pls... I am trying to find a regular expression for the below string..
ExchangeName = MOLD%20WEST ExpectedDate = ZZZZZZZZ LineStatus = Z Status = NO 200 OK - and i am trying with something as below: $line =~ /([a-zA-Z_0-9.]+)\s*=\s*([a-zA-Z_0-9.]+)/; I am able to fix the first three lines; but the last line (200 OK - ) is giving me problems... I also tried. $line =~ /([a-zA-Z_0-9.]+)\s*=\-\s*([a-zA-Z_0-9.]+)/; but it gives me an error as i m trying put the above values in a hash. ---------------------------------------------------------------------------- ---------------- regards, Ajitpal Singh, -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>