Customizing PDF Text Search Using JavaScript

This is a quick example of changing the way searching inside a PDF works. The example only searches for complete words. For example, searching for ‘the’ won’t return ‘them’ or ‘these’ in the list of results. Get additional resources by learning about our JavaScript PDF search library or visiting our guide on customizing the search UI.


This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.