I have a pdf with Radio Buttons arranged vertically where I need to set a Metadata field with the one selected. What would the Regular Expression be for this.
I have a pdf with Radio Buttons arranged vertically where I need to set a Metadata field with the one selected. What would the Regular Expression be for this.
What Laserfiche product are we talking about here?
Using Quick Fields.
I will be receiving the documents directly as a PDF or faxed as an Image (saved in PDF format) . The pdf Form Quick fields can pull the Yes or No "Retrieve PDF Form Content" But when faxed into a PDF then OCR and pattern matching should be able to detect which was selected. I have also tried changing the selected fill to an X for example. I am looking for the regular expression to return a Yes or No that I can put into metadata field.
Using "[x|X]\s\s?\s?\s?(No),?\sI/We|[x|X]\s\s?\s?\s?(Yes),?\sI/We" The x was not detected so nothing returned.
Can you attach a sample image? Extracting image pages from this PDF does not generate an X for the checkbox.
Edit: Your pattern expects a "I/We" word, but there is no such thing on the PDF.
Please see the one with an X in the "NO I/We disagree" box. What I have tired so far will always find the 'Yes' checked. I was also wondering if I could somehow see the results of the OmniPage OCR. This might help developing the regular expression.