parse contact into regidp form