You are viewing limited content. For full access, please sign in.

Question

Question

What is the Regular Expression for radio buttons in PDF

asked on February 5, 2016

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.

 

 

 

 

0 0

Replies

replied on February 5, 2016

What Laserfiche product are we talking about here?

0 0
replied on February 10, 2016

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.

0 0
replied on February 10, 2016 Show version history

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.

0 0
replied on February 17, 2016

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. 

0 0
replied on February 17, 2016

You sure can. Quick Fields has a text pane too. Click the toolbar button to turn it on or go to View\Display Pane.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.