how to replace all special characters except underscore and period in php?
how to replace all special characters except underscore and period in PHP?
<?php $string="a quick borown fox jump over the lazy dog & ( jkl/)-ov"; echo $string = preg_replace('/[^a-zA-Z0-9_.]/', '-', strtolower($string)); ?>