User-friendly, affordable, and packed with different features, DocHub is a healthy and cost-efficient alternative to DocFinity. Try it now and learn how to squeeze the maximum of our solution with easy-to-use feature shortcuts.
today we will see how we can split pdfs dynamically but we will also learn to work with files and folders and a little bit of regex so download the files below open up your ui path and do the operations with me so i have a folder here its called split pdf and it has an input folder in it in the input folder theres a given amount of pdfs the pdf look like this we will have a invoices abc here we have invoices on each page we can see that its only expanding one page like this but then we have another invoice klm pdf here we have an invoice on page one we have another invoice on page two but we can see that this invoice will span over two pages now and then an invoice three comes in we can see that it spans over two pages because it got the same number but also because it says page one and page two and finally we got the most advanced one we have an invoice where we have invoice one on page one then we have invoice2 and invoice2 is spanning five pages like this so we will create a sol