format search results in table and highlight search string