in reply to Extract field from pipe delimited flat file
# this is a lazy regexp - you can refine it better, I'm sure. # $line is the line of text from your example @emails = grep ( /.*\@.*/, split( /\|/, $line ) );
Jason
update - before the sanitization of the data above, it was all in one line. No, really! ;)
|
|---|