to see the expected results go to
old text and new text are given down old Text : <div>hello<br>this<br>is a</div> new Text : <div>hello<br>this<br>is a sample text</div>