strip input word