First post here, so please go easy on me.

I am trying to extract certain data fields from a users profile.
Here is what I want from my logic:
1. All IDs that begin with "UA" (i.e whois UA)
2. Within each ID Profile, there is a field called INSTDATA = ___________
3. I want to extract the ID along with this INSTDATA field.
How can I accomplish that?
Thank you in advance for all the anticipated support.
-AK