W3schools Php String Search Method In Javascript