Pick Data From PDF

I have tried something like this and it works…but problem with this pattern is , if there is 5th bullet point, it will take that too…

Hi @prasath17

The regex given is fetching from 3rd point till the end of pdf
It is not stopping for 3rd bullet

Thanks and Regards,
Supriya

@supu123 - is the 4th bullet point always same ? Or differs between each pdfs ?

@supu123 - Please check this updated pattern…This will not fetch the 4th or 5th (or any other)
Note: This has Ignore case selected…

https://regex101.com/r/tBMZtm/1

Hi @prasath17

4th bullet differs for pdf

Thanks and Regards,
Supriya

@supu123 - okay thanks…Did you check the updated pattern and tested??? Hope that would fix the issue…if you click on the link/image you can see it didnt selected the 5th point…

Hi @prasath17

Fir the latest keyword this is working but for updated keyword there is no match

An updated List is accessible on the Committee’s website at the following
URL: www.un.org/securitycouncil/sanctions/1533/materials.

The United Nations Security Council Consolidated List is also updated following all changes made to
the Committee’s Sanctions List. An updated version of the Consolidated List is accessible via the
following URL: www.un.org/securitycouncil/content/un-sc-consolidated-list

Thanks and Regards,
Supriya

hi @supu123 - Sorry for the delayed response…

I am not sure, how the bullet point starts for this case.i just tested with the below and it is working…

https://regex101.com/r/tBMZtm/1

Hi @prasath17 @NIVED_NAMBIAR

You were very helpful

Thanks and Regards,
Supriya

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.