Front page | perl.beginners |
Postings from December 2002
REGEXP help asap :)
Thread Next
From:
Paul Kraus
Date:
December 20, 2002 06:30
Subject:
REGEXP help asap :)
Message ID:
01f301c2a834$5717d2a0$64fea8c0@pkrausxp
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
Thread Next
-
REGEXP help asap :)
by Paul Kraus