How to return the word example in the result column? the closest I got was [\W]{2,}[^,\W].+[?=,]
| id | text | my result (Full match) | expected (Full match) |
|---|---|---|---|
| 1 | wordA, worldB, wordC | , worldB, | wordB |
| 2 | wordF wordY, worldZ, wordn, wordM | , worldZ, wordn, | wordn |
| 3 | wordg wordt, worldl, wordq, wordk, wordr | , worldl, wordq, wordk, | wordk |
| 4 | this is a test, capturing, a word | , capturing, | capturing |