in reply to Obtain CSV Fiile from text

echo $line |  perl -ne 'print $1 if /.+\/(.+\.csv).+/i';

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»