Use regex to find the whole package/namesapce for migration