Use metro to create a gt table. In the connect_rer column, perform a count of pattern matches with stringr::str_count() and determine which cells have 1, 2, or 3 matched patterns. For each of these cases, provide descriptive replacement text. Here, we use a .default to replace the non-matched cases with an empty string.