I need assistance with creating a regex pattern for Google Sheets that can handle varying string formats. For instance, given the following input string within a cell:
30m DEVO-67, DEVO-68
1h DEVO-69, DEVO-70
2h DEVO-75
The desired result should be:
DEVO-67, DEVO-68, DEVO-69, DEVO-70, DEVO-75
The goal is to extract all occurrences of ‘DEVO’ followed by a dash and a number from any provided text. I attempted this regex but it was unsuccessful:
=REGEXREPLACE(B1, "[0-9]+\S+\s+DEVO-(\d+).*", "DEVO - $1")