cleaning regex for text fragmenter