Re: regular expression help please

2001-06-28 Thread Jenda Krynicky
> (2) but at the same time, there are a number of lines containing data > that I want to delete the whole line for (example - any line that has > xwy or abc, I do not want to write out to the new file.) > > I put the values in an array, hoping to use the regular expression > match on > a single

RE: regular expression help please

2001-06-27 Thread Arthur Cohen
: : I put the values in an array, hoping to use the regular : expression match on : a single item in the array, but it's not working. It works : when I do them : one at a time, but that would be a waste. : @words = qq{abc xwy}; : : foreach $word(@words) : :

regular expression help please

2001-06-27 Thread Sharon Di Spirito
I have a file, with lines such as: |abc|john|smith|*0*7778745|[EMAIL PROTECTED] |def|jane|bubbley|*0*345645|[EMAIL PROTECTED] |xwyzeightyeight|harold|buffer|*0*|[EMAIL PROTECTED] |the|one|andonly|*0*7438745|[EMAIL PROTECTED] There are two things I am trying to do with data from a file. (1) I wan