Class to cut a text that includes hyperlinks