got it. I only need one set of () and only |. > -----Original Message----- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 20, 2002 9:30 AM > To: 'Perl' > Subject: REGEXP help asap :) > Importance: High > > > I have a 23,000 accounting error I have to find before 12 > when my boss comes in or one of my employees is going to get > reamed. To but it nicely. > > Here our two reg expr. The first returns all the data I need > except data that starts "~MISC~". > > if (/\s+(\w{4,4}00).+\s+([\d,.]+)/){ # $1 = /\w\w\w\w00 > if (/\s+((\w{4,4}00)||~MISC~)).+\s+([\d,.]+)/){ # same > expression but I need it to match if its \w\w\w\w00 or ~MISC~ > > Paul Kraus > Network Administrator > PEL Supply Company > 216.267.5775 Voice > 216-267-6176 Fax > www.pelsupply.com > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]