echo "$XXX" | perl -ne '/\/(\w+);/ and print $1' [download]
In reply to Re: matching substring in url by hippo in thread matching substring in url by cioperl