This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Search phrase validation

#12432
Ernest MarcinkoErnest 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:

[php]$characters = " .";
$replace_with = ""; [/php]

So space and dot is replaced with empty string.