How do you retrieve references from a PDF?

How do I retrieve all the references from an article in PDF format?

Do I just manually highlight the selected reference and copy paste to search on pubmed option?

Thank you!