update url checker to regex