KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've recently seen a lot of libraries for searching and highlighting terms within an HTML page. However, every library I saw has the same problem, they can't find text partly encased in an html tag and/or they'd fail at finding special characters which are &-expressed. Example a: <span> This is a test. This is a <b>test</b> too</span> Searching for "a test" would find the first instance but not the second. Example b: <span> Pencils in spanish are called lápices</span> Searching for "lápices" or "lapices" would fail to produce a result. Is there a way to circumvent these obstacles? Thanks in Advance!
Tags (comma-separated)
Save Edits
Cancel