I need to extract a Name and Address from the first page of a pdf file in a specific region and re-insert it if needed.
For example, if I have the address below within a specific region on the first page of a pdf file I need to extract it, validate it and replace it:
John Q. Public
123 Maple Street
Anywhere, GA 30309
After it is extracted I would want to plug back in the following:
JOHN Q. PUBLIC
123 MAPLE ST
ANYWHERE, GA 30309-3432
Can you assist me. I found ways to extract text, but not from a specific region and I cannot find a way to replace it.