I am trying to do a find and replace throughout an entire page, and add some parameters to any URLs that contain some specified text. (i am speaking about hardcoded inline a href URLs)
So for example, I want to replace any instances of this:
<a href ="http://localhost/wordpress/">Link</a>
With
<a href ="http://localhost/wordpress/?demo_mobile_site">Link</a>
I tried some replace function I found, but I cant get it to work with the forward slashes in the string.
Any help on this would be appreciated. Thanks