Looking to do a replace for google index my links without spaces, commas, and another characters
my curent code
<a href="report-<?php echo str_replace(" ", "-", $db['Subject'])?>-<?=$db['id']?>" class="read-more-button">Read More</a>
I'm looking to make it for any characters like $, #, &, ! ; not only for spaces.