I have a Textarea which is in a form that has this value
Hello<div class="author"><br /><i> Written By <a href="http://localhost/user/admin">admin</a> </i></div>
I need to remove everything in the author class on load cause i will be adding the same updated data on submit.
You can simply replace that piece with regex:
Demo: http://jsfiddle.net/TimWolla/Nzvy7/