Updated regex to add text *after* the replacement string as opposed to truncating it.