Math given Hosts with Regexp