Zone OCR - Regex Lookbehind

  • Last Post 13 September 2019
  • Topic Is Solved
Matthias posted this 11 September 2019

Hi there

I am wondering if it would be possible to use a lookbehind regex in the Zone OCR.

I have the following Scnenario: Zone OCR extracts this value:

Company Name

Now, I just wanted to have the Company Name as value of the Zone OCR variable.

I know that it needs to match everything, so I tried in several variations the following:


Unfortunately it did not work out. Also ^and $ did not help.

Is there a way achieve this in here, or would be a script required? I think in this special example also
%ZONE_OCR(':',2)% would do the trick. But getting the correct value for the variable right from OCR Zone would be more convinient if possible.

Looking forward to any suggestions.

Take care, Matthias


Order By: Standard | Newest | Votes
luca.scarpati posted this 12 September 2019

 Hi Matthias,


the RegEx of the OCR area only needs to verify that your "value" is present in the area you are looking for. So in practice it is a check on taking the Zone OCR or not.

Yes the script is required in your case or also the %ZONE_OCR(':',2)% should be good as you write above.


Have a nice afternoon cool!



Matthias posted this 13 September 2019

Hi Luca

Thanks a lot for confirmation and your quick response!

Take care, Matthias

  • Liked by
  • luca.scarpati