Is there a way to extract the search keywords a user inputs? For example, when a user submits a search, I want to store the keywords in a variable for use on the search results page.

Thanks.