submitted by anon to askanon 1.4 yearsDec 16, 2023 23:56:22 ago (+1/-0) (askanon)
[ + ]anon
[ - ] anon 1566128 1 point 1.4 yearsDec 16, 2023 23:57:43 ago (+1/-0)
[ - ] anon 1566128 0 points 1.4 yearsDec 17, 2023 04:39:38 ago (+0/-0)
[ - ] anon 2862594 0 points 1.4 yearsDec 17, 2023 01:46:09 ago (+0/-0)*
[ + ] anon
[ - ] anon 1806146 1 point 1.4 yearsDec 17, 2023 02:31:46 ago (+1/-0)
[ - ] anon 2802434 0 points 1.4 yearsDec 17, 2023 00:48:41 ago (+0/-0)
[ - ] anon 5757160 0 points 1.4 yearsDec 17, 2023 00:07:26 ago (+0/-0)
[ + ]anon
[ - ] anon 1566128 1 point 1.4 yearsDec 16, 2023 23:57:43 ago (+1/-0)
[ + ]anon
[ - ] anon 1566128 0 points 1.4 yearsDec 17, 2023 04:39:38 ago (+0/-0)
[ + ]anon
[ - ] anon 2862594 0 points 1.4 yearsDec 17, 2023 01:46:09 ago (+0/-0)*
pip install PyPDF2
#importing all the required modules
import PyPDF2
#creating a pdf reader object
reader = PyPDF2.PdfReader('example.pdf')
#print the number of pages in pdf file
print(len(reader.pages))
#print the text of the first page
print(reader.pages[0].extract_text())
import re
>> match = re.search(r'[\w.+-]+@[\w-]+\.[\w.-]+', line)
>> match.group(0)
>> match
Just clean that up
https://stackoverflow.com/questions/1180115/add-text-to-existing-pdf-using-python
[ + ] anon
[ - ] anon 1806146 1 point 1.4 yearsDec 17, 2023 02:31:46 ago (+1/-0)
[ + ]anon
[ - ] anon 2802434 0 points 1.4 yearsDec 17, 2023 00:48:41 ago (+0/-0)
[ + ]anon
[ - ] anon 5757160 0 points 1.4 yearsDec 17, 2023 00:07:26 ago (+0/-0)