Selector not specific enough

I’ve been trying to get information from a PDF file but I am only able to get the selector to take too much information, for example:


Instead of selecting only "Name: " it selects multiple things, I’ve tried renaming the final part of the selector to just "Name: " but that doesn’t validate.
The part of the selector i changed to "Name: " reads

Is there anything else that i can try?

Couldnt figure out how to edit sorry, the selector read: ctrl name='Name: AKA/Former Name: Current Address: ’ role=‘text’

It looks like that box is one element so it will scrape all that information. your best bet is to use string manipulation on your returned variable to split it up either on environment.newline or “:”, that will give you distinct sub-strings of that selector

okay thanks for the help