Split pdf based on matching data

Hi Everyone, I’m facing an issue with PDF split. I have a pdf merged with multiple invoice files. From those invoices some pages having invoice number same. I want to Split the same invoice number files into 1 pdf. Meanwhile i want to do that for all pages. I will be having 50-70 invoices in each pdf. i want to look for invoice number and match with other pages in the PDF and i want to make a new pdf file with all matching pages. while splitting pages Matched invoice should not repeat in other files.
I’m attaching sample invoice below.

Output example:

  1. 873100 -this is 1 invoice number with the same number there are few pages in that pdf. I want to take all pages and make a new pdf file.

Invoice 873100_merged (1).pdf (6.9 MB)

HI @Learner007

Check out this video link

Regards
Gokul

@Gokul001 I want to split invoices based on Invoice Number, Same invoice number will be present in multiple pages, i want to split those pages and make them into a new pdf.

Hi @ppr, @prasath17 Can i expect any solution for this problem

Count pages in PDF. For each page (use the counter):

  • create pdf with extract pdf range activity and output save to one folder. Name: tempName.pdf
  • read pdf file and check the invoice number.
    If in the folder exist file with name like invoicenumber.pdf then use join pdf file where you will add tempName.pdf to invoicenumber.pdf
    If there is no file in folder with invoice number, just rename tempName.pdf with invoicenumber.pdf