asked on January 20, 2021

Hi all.

 

I created a workflow to OCR a PDF and to find inside the text some characters using pattern matching.

The function works perfectly but sometimes, the return is not correct because of the OCR.

 

E.G 1 : <start>Olivier<end> => return words between <start> and <end> => result = Olivier

E.G 2 : <start>O{ivier<end> => return words between <start> and <end> => result = O{ivier

 

In the E.G2, I wish to replace '{' by 'l'.

I don't want to use the function 'replace' because sometimes is not '{' but '[' or '(' or '1' or others.

I want (if possible) to Laserfiche replace by himself the special character to a alpha character [a-zA-Z].

 

Is it possible?

0 0