convert text to regular string