if ($subject =~/$recordset[8]-$recordset[0]/i || $subject =~/$recordset[2]/i || $body =~/$recordset[8]-$recordset[0]/i || $body =~/$recordset[2]/i) #dann mache so und so oder 2.Variante: if (($subject =~/$recordset[8]-$recordset[0]/i) || ($subject =~/$recordset[2]/i) || ($body =~/$recordset[8]-$recordset[0]/i) || ($body =~/$recordset[2]/i)) #......