perl -pe "if(m/script_id\'(.*)\'/){print $1;}" my_file.log [download]
In reply to More Command Line Regex by ramblinpeck