remove the port wildchar '*'