Reputation: 180
I have been searching for a JavaScript "Find In Page" tool to place in a HTML file so that when I enter a search term and click submit, the script will search a TEXT file of my choice and find a match on the text page for the entry submitted. Can someone give me a hand? Thanks.
Upvotes: 1
Views: 797
Reputation: 78991
Use regex pattern matching to highlight the searched text
Check this http://www.nsftools.com/misc/SearchAndHighlight.htm
Upvotes: 2