print "\n"; while () { chomp; print "", (map { $_ =~ s/$_" } split (/\|/)), "\n"; } print "
\n";