asked on September 19, 2017
Hi, I would like to extract the Salesman # from the OCRed Text. Sometimes the ocred Salesman # and name in the sameline (EX1) whereas some time OCRed the data is splited into another lines (Ex2).
Ex1.
Salesman : 107 - Rajeev
Ex2.
Salesman:
107
- Rajeev
I have created the pattern as Salesman.*?(\d{3}) its work fine in Ex1 whereas in Ex2 it return fail. I need a pattern to extract the Salesman no 107 in both scenario.
Thanks
Ganesh
0
0