.match javascript java code example
Example: javascript filter strings for partial matches
arr.filter(x => x.title.toLowerCase().includes(searchStr.toLowerCase()))
arr.filter(x => x.title.toLowerCase().includes(searchStr.toLowerCase()))