Readd function to search for highlighted text