Gets text from search box. Now single line input.