I have a Zone OCR to capture all of the following:
GST : Sub total: 14,073.24
Tax: 703.66
Invoice Total $14,776.90
and then Pattern Matching to return only the 703.66.
PROBLEM: The resulting field is blank when a session is run on a document, even though the pattern matching test returns the correct tax amount. I have researched this and others have had this problem, but I cannot see it resolved. One suggestion (found twice in ANSWERS) was that it may be finding a space where it isn't expecting it so try \s* every time there can be a space. So, I tried that in numerous forms and it did not resolve the problem. I tried (in the pattern matching configuration): Tax:\s*(.*); Tax:\s*(\s*.*); Tax:\s*(\s*.*\s*); Tax:\s*(\s*.*\s*)\s* all of which worked in the test area, but not when running the session on a document.
Output:
Can anyone help?
Thx, Connie Prendergast, Flagstaff County