How do I implement a text search and replace ?

Text in PDF is often stored as a series of glyphs where each glyph represents a single character. To identify the text as words requires processing that is supported by UniPDF.

To illustrate the UniPDF capability to find and replacing text, see the basic code example at 

https://github.com/unidoc/unipdf-examples/blob/master/text/pdf_search_replace.go

and a more advanced version exists in

https://github.com/unidoc/unipdf-examples/blob/development/text/pdf_search_replace_advanced.go

If you have further requirements, please contact us.