Reply To: Search phrase validation

#12432

Ernest Marcinko
Keymaster

Hi!

I think this is what you are looking for: https://wp-dreams.com/knowledge-base/replace-or-remove-characters-from-search-phrase/

That code should be the base, but change the two variables to:

$characters = " .";
$replace_with = "";  

So space and dot is replaced with empty string.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)