Update whois.class.php

ereg to preg