in reply to Removing line from a string
$records =~ s/^ # beginning of the string .* # whatever except newline \n # newline //x; [download]