Hey there, I have this variable:
<?php $blog_description = get_bloginfo('description'); ?>
$blog_description ='I am a text, I have commas, and periods. And I want the text without them';
How can I extract the commas and periods from $blog_description?
I want to use it as meta description in my website header.
Or to remove commas and periods:
You can always use preg_replace too: