in reply to Re: Extracting names from string
in thread Extracting names from string

Surely
echo "m!/(.*)|!;" | perl -pe's/\|/\\\|/'
?

Update

OK, by the time I posted this you already had. I only took so long to post it 'cos I found it hard to believe ikegami could make mistakes :)

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!