Problem: Given a pdf, you need to cut after the number and paste it into a new pdf page.
input.pdf ---> input file contains 1 page.
hi
john
123
how
are you
456
output.pdf ---> output file contains 2 pages.
page1 hi john 123 page2 how are you 456
Is it possible to split based on line number using PyPDF2 or copy the line and merge it? I tried using reportlab but is there any alternative and easy way to perform this? Any package is available please do provide. It would be really helpful for me and thanks for your input.