Fix regex for domain extraction