Hello
I need to do a fast replace using preg_replace on php.
The syntax is:
Everything inside a html href tag "&" with a "#"
So, the html code:
<a href="http://gfy.com/link/blah&g">link &</a>
would go to
<a href="http://gfy.com/link/blah#g">link &</a>
Only replacing the & inside html.
thank you
I need to do a fast replace using preg_replace on php.
The syntax is:
Everything inside a html href tag "&" with a "#"
So, the html code:
<a href="http://gfy.com/link/blah&g">link &</a>
would go to
<a href="http://gfy.com/link/blah#g">link &</a>
Only replacing the & inside html.
thank you



Comment