Using PdfContentEditor.ReplaceText to replace multiple strings

I am trying to replace several strings using the ReplaceText method but it only replaces the last one. Is there a way to make it replace them all?

Eg:

PdfContentEditor content = new PdfContentEditor();
content.BindPdf(Server.MapPath("~/pdf/letterhead_fields.pdf"));
content.ReplaceText("", "My location");
content.ReplaceText("", "02 0000 0000");
content.Save(string.Concat(Server.MapPath("~/export/"), Guid.NewGuid(), ".pdf"));

In this example only phone gets replaced and remains in the PDF.

Hi Joe,

Thank you very much for considering Aspose.

Please share the PDF file you’re having problem with. We’ll investigate the issue at our end and update you accordingly.

We’re sorry for the inconvenience.
Regards,