I have a sting which looks like ...<a href="...">...</a>...<b>...</b>... etc.
What pattern should I use in ereg_replace() function to modify the text which is outside of the tags only?
For example, I have
'This <a href="...?map=7">map</a> is here.'
and I want to get
'This <a href="...?map=7"><b>map</b></a> is here.'
What pattern should I use in ereg_replace() function to modify the text which is outside of the tags only?
For example, I have
'This <a href="...?map=7">map</a> is here.'
and I want to get
'This <a href="...?map=7"><b>map</b></a> is here.'