Regex to get text from the OCR output

Hi,

Could you please help me in getting the below output from the extracted OCR text

[=+!@$E#%$^^&(^]
Insurance Plate number
Insurance name
Plate from country 238e69
01837.19 Insurance (FC)
Insurance (PC)

I want to always read the amount without decimal which is present before Insurance (FC) from the above text

Expected Output : 01837

System.text.regularExpressions.regex.match(txt, "([\d]+)\.").Groups(1).value

[=+ !@$E#%$^ ^&(^]
Insurance Plate number
Insurance name
Plate from country 238e69
01837.19 Insurance (FC)
1234.21 Insurance (PC)

Please find the updated text, there will be multiple values in the text, I want to read the amount before Insurance (FC) only

([\d]+)\..*?Insurance \(FC\)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.