https://tutorial.eyehunts.com/js/javascript-string-search-method/
JavaScript string search() | Method