perl -ne 'print "$1\n" if /[name|id]="(\w+)/' myfile.txt [download]
In reply to Re: how to deal with newline by Lennotoecom in thread how to deal with newline by nvdierdo