Automatically search for and replace PMID with citation in Word doc?

I have a multiple page word document with Pubmed IDs surrounded by {} that need to be replaced with a numbered citation. Can Endnote automatically scan the document and put in these references?  I have all the Pubmed IDs in my Endnote library already.

Thanks.