I have a variable $keywords that can contain + symbols in place of a space. For instance the variable can equal either "John" or "John+Doe".
The $keywords variable is useful for RSS feeds but I'd like to create a header above my RSS feed display that uses the $keywords variable without the "+" symbols in the variable. I was curious how I could go about doing this? I believe this can be done with the preg_replace function but as a newbie, I haven't had much luck getting this to work.