Special regular expression for specific vendor


I'm working on an invoice project, and it's extraction the invoice number but I need to improve the detection using the regular expression based on each vendor:

1) Vendor A: the invoice number will be always something similar to this (AB/123/3232) => (2 fixed letters/ 3 digits number/4 digits number).

2) Vendor B: the invoice number here will be always 9 digits starting with 3 zeros.


Thanks in advance.


Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.