Aside from the built in UI search, PDF.js Express provides progammatic search APIs that can be used to search for text in a PDF.
Get started
Basic searching
If you just need to search and highlight results, our simple search APIs are a great place to start.
Advanced searching
For use cases such as adding annotations to all search results, our advanced search APIs are able to provide all the data you may need.