PDF extraction using Regex Expr

@vrdabberu
Hi Varun,

This is a continuation to below topic

I have attached one more pdf text file please check the below regex expression for the field DOC No in the below mentioned text files.

Regex expression:-

DOC No: --------------
(?<=[A-Z]+.?[A-Z]+\s*:\s*)[A-Z]+\d±?\d+(?=\s+[A-Z]+[a-z]\s[A-Z][a-z]\s*: )

the above expression is not working for invoice4 text file
please help me with this

thanks in advance

Hi @praveena.nadi

Sorry for the trouble please use the below regex expression.
DOC. NO :

(?<=[A-Z]+.[A-Z]+\s:\s)[A-Z]+\d+-\d+

Hope it works !!

1 Like

@vrdabberu

Thank you very much for the quick response
you are really helpful

@praveena.nadi

Thank You

Happy Automation !!

1 Like

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