If user enters his text in the text box and saves it and again what\'s to add some more text he can edit that text and save it if required.
Firstly if user enters th
A more simple solution is probably to strip the links which you created (so the user gets exactly what they typed when they click "Edit" again).
Another idea is to split the string at . That gives you a list of strings which all end with an anchor element (except the last one). Iterate over this list, cut away the part after the last
, linkify.