in reply to addition in regular expressions
s!total of (.*?) and (.*?)\n!total is @{[$1+$2]}\n!g [download]