I have a case that the i need to extract the number from the scanned invoice that number is not following the same format they are in dymanic layout. How can i use regx here please let me know that is there any possiable to solve this types of solution if u can give an idea it helps alot to me
Assign Numbers = System.Text.RegularExpressions.Regex.Matches(YourScannedInvoiceText, "\d+").Cast(Of System.Text.RegularExpressions.Match)().Select(Function(m) m.Value).ToArray()
cheerss!!
Hi sir,
As i can’t share the any files as we are working with client. Please if you could connect with us it is helpful for us. Please let me know the free time.
Thanks
naveen
Hi @naveen5
Can you please share the sample data which resembles the actual data? because regex will change from data to data.
Regards
Hi varun,
i can’t share data in public because we are working for the client he will not accept this. If you could connect with us it would be really helpfull to us
Thanks,
Naveen
Hi varun,
I text you personally, please check it varun.
Hi @naveen5
Please use the below regex expression
(KA-EB-\d+-\d+-\d+)([,;:..]\d+)*(\s+\&\s+\d+)?
Regards
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.