How to search for list items?

there is a list (ul), with lots of elements (li).
need to do a search on the elements in this list. ie input the characters(a word), the script after you enter at least one character(or suppose three characters, how to specify?) begins to look through list items and if any item/items finds the word, then all items where your search word is not found - hide (non-display).

please tell me how this can be implemented:)
June 8th 19 at 17:29
1 answer
June 8th 19 at 17:31
Thank you! - Dagmar5 commented on June 8th 19 at 17:34

Find more questions by tags jQuery