I have a form that has a field which contains Street Name a comma and then the town . Ex "Main St , Boston". I would like to take only the street name as a token to populate part of a template. Is there a way to use the OCR and pull only a substring using the comma as a delimiter?
Question
Question
Substring of OmniPage Zone OCR
asked on September 22, 2016
•
Show version history
0
0
Replies
replied on September 23, 2016
•
Show version history
Hi Anthony,
There isn't a built-in method for applying regular expressions within Zone OCR processes, but you can use a pattern-matching process to modify the results of the original Zone OCR process. The regular expression "(.*)," will capture everything before the first comma it sees. See attached image for example.
Hope this helps!
EDIT: Left out the crucial comma in the regular expression above; the screenshot was correct the entire time though. Thanks Brianna!
0
0
You are not allowed to follow up in this post.