adding more regex to PDF and some regex notes