How do i delete content between anchor tag <a href> including<a> tag and after deletion also add a new anchor tag <a href>

What will be the code in UI Path such that i can delete text between anchor tag and Type in new anchor tag and text like
Funny Animal Video - Funny Dog Marriage

Thanks in advance