Remove text fragment