Fixing url and domain regex to accept correct formats of values