method search clean text