use regex for cleaning the text