Magento 2 search terms are many invalid entries, and many special characters, random numbers, Chinese characters string, emoji characters, etc. In search terms, these different types of strings are stored. and when I search on the frontend so this invalid string is showing me in suggestion.
How to protect my search terms? How to validate the search string?
Can anyone help me?
Thanks