What have you tried?  Have you seen the -i option?

-----Original Message-----
From: stu meacham [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 20, 2006 2:33 PM
To: beginners@perl.org
Subject: regex one liner

I would like to modify a file 'in place' at the command line with
regexes.  The file changes daily and is messy.  Can one negate a regex
itself as opposed to a class of regular expressions? If I could  remove
everything but that selected by m/\d{2}\t\d{2}\t\d{2}/g life would be
better as I know it. Thanx

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow
Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default
.asp?SRC=lycos10


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to