Yet another newbie regular expression question (I swear, I'm learning!)
I have a simple pattern that captures an anchor tag:
(<a.*?</a>)
It works great. I would now like to modify this to EXCLUDE occasional
opening and closing bold tags (<b></b>) around the text.
For example:
<a href="http://www.example.com ><b>Example</b></a>
to return
<a href="http://www.example.com >Example</a>
How can this be accomplished?
Thanks (again) in advance.
I have a simple pattern that captures an anchor tag:
(<a.*?</a>)
It works great. I would now like to modify this to EXCLUDE occasional
opening and closing bold tags (<b></b>) around the text.
For example:
<a href="http://www.example.com ><b>Example</b></a>
to return
<a href="http://www.example.com >Example</a>
How can this be accomplished?
Thanks (again) in advance.
Comment