replace fixed string to search with encoded string