I am unable to get Quick Fields pattern matching to work properly using the OmniPage OCR and Pattern Matching. It works when in the test of the token editor but I get a different result when I test the process. I'm trying to use regular expressions to match the text that is in between certain text. Example:
TO:
Company Name
Company Address
I am able to get the company name in the token editor with (?<=TO:)(.*)(?=\n) but it matches everything else when I test the process. I've tried changing (.*) to (\w*) and changing (?=\n) to just \n but neither has worked. Also, another token that is matching a date works just fine using a similar expression. Is there a way to only return the text between specific text and a new line.