Remove replace functionality
Implement the actual search: select the matched pattern in the text