Regular Expression help PREG_REPLACE()
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="https://gfy.com/link/blah&g">link &</a>
would go to
<a href="https://gfy.com/link/blah#g">link &</a>
Only replacing the & inside html.
thank you
__________________
Sell me your portuguese Traffic!
Euro Luso
|