Function to get raw text from table of matches