I have .pdf files with the likes of the below image and I would like to extract the extended amount, if it has the substring "(R)" starting at the beginning of the