I asked a somewhat similar question this afternoon and then realized as great as the answer is my question was not correct...
given the following:
<p class="p">
<div> </div>
<div>
<a href="foo"> a </a> >
<a href="foo1"> b </a>
<a href="foo2"> c</a>
<a href="foo3"> b </a> >
<a href="foo4"> c </a>
</div>
</p>
I need to remove the ">"` from the page as well as the a tag that precedes it. This is a dynamic list so it will continously grow over time. I need to someone latch onto the ">" remove it and then remove the a tag before it.
Any suggestions?