Is there a way to find element using regex to search in its text. So for example, if element p has word kobra in it then jquery selector returns the list of those elements optionally wrapping matched words in span element.
I need it to create search functionality. Basically there is a li based list. User enters a term, then all elements are gotten using that regex to element selector, then upon clicking next user is scrolled to that position.