Perlwannabe wrote: > > I originally tried to do this, but it won't work. The data doesn't > _always_ have a <tab> before address, sometimes (although seldom) it has a > <space>. With grep I would miss the entire address. However, if I were > to just select everything and replace it with nothing, that would be the > answer. BTW...your solution above is right on the money for about 98% of > the file. However, by simply scanning the line and deleting everything > between between HOW and NUMBER: that would give me 100%. Any ideas?
You could try this: s/\tHOW.+?\sNUMBER:\s*\S+\t/\t/; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]