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

Question

Question

Having trouble identifying a specific area in Quick Fields

asked on July 29, 2019

I am trying to identify a field PO Type i.e. below circled in red.

 

I am using OmniPage Zone OCR and Pattern Matching.  When the scanner scans sometimes a little lower, the "PURCHASE ORDER NUMBER" will be identified instead of "OG". Can I tell Pattern Matching to identify the characters below the words "PURCHASE ORDER NUMBER"?

0 0

Replies

replied on July 29, 2019

Make sure that the Single Line setting for your OCR zone is set to "False".  This will ensure that the zone will pick up multiple lines, then pattern match it to pull digits only i.e. "\d.*"

 

2 0
replied on July 29, 2019

I've added this to the above response because your example does not have a number for the PO.  They are word characters.

I got it to work this way...

Of course, you could just put in Number\s*(\w\w).  This is just for word characters.

 

1 0
replied on July 29, 2019

A couple more options to achieve the same result:

Or my personal favorite:

This second method means you will always capture what is on the second line only by applying an index to the input token. 

0 0
replied on August 2, 2019

Thank you for the help!

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

Sign in to reply to this post.