We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Regex find/replace text tokens with text, images, tables

I am currently using the Aspose.Words DocumentBuilder to Regex find all tokens (i.e. «Cell│RO_Date» ) in a *.doc file and replace each token with a text string, or an image, or a table I build dynamically.

Is there any way to do the same with Aspose.Pdf and a Pdf template?
Thanks for any help anyone can offer.


Thanks for your inquiry.

Aspose.PDF also offers text find/replace functionality in PDF documents. You can find/replace text in a PDF Document at pages level, from particular page region as well as based on regular expressions. You may please find related information over given link of the API documentation. In case you face any issue while implementing the functionality, please feel free to let us know by sharing sample PDF document with sample code snippet.

Hi Asad,
Thank you for the link.