Some test text!

Search
Hamburger Icon

Web / Guides

Code samples for searching PDF text or images using JavaScript

Full API is mainly used for PDF processing situations that are not featured using the Standard API. The preferred recommendation is to use the Standard API to address your situation when possible. Standard API is easy to use, loaded by default, and performs best for most situations.

Search PDF files for text
This sample shows how to use TextSearch to search text on PDF pages using regular expressions.

Search & Replace PDF text or images
This sample which shows how to use pdftron.PDF.ContentReplacer to search and replace text strings and images in existing PDF (e.g. business cards and other PDF templates).

Get the answers you need: Chat with us