Replace text in PDF document with a blank value in PHP using Aspose.PDF REST API

Using PhP to send a PDF to ASPOSE and using the text replace to replace {value} in the pdf with a value - say “hello”. But if the value I want is blank, I can seem to be able to replace {value} with a blank, ie: make the text {value} disappear from the PDF and have nothing replace it.

I get an error
{“TextReplaces[5].NewValue”:[“The NewValue field is required.”],"
as a reply

This is what I send as part of the API call

{“TextReplaces”:[{“OldValue”:"{value}",“NewValue”:"",“Regex”:false}]}

Got to be something simple!!

Thanks in advance

@mentallogic

We have already noticed the issue and logged a ticket PDFCLOUD-1977 for rectification. We have linked your post to the ticket. We will notify you as soon as it is resolved.

@mentallogic

Please try it now as the above reported issue is resolved in the latest release of Aspose.PDF Cloud.