mobilestimulus
mobilestimulus

Reputation: 180

JavaScript Find In Text File

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

Answers (1)

Starx
Starx

Reputation: 78991

Use regex pattern matching to highlight the searched text

Check this http://www.nsftools.com/misc/SearchAndHighlight.htm

Upvotes: 2

Related Questions