Using Search and Replace, I am trying to clean up a custom column with pairings but I cannot manage to write the correct regex.
The input data is as follow: "A/B, C/D, E/F (mentioned), G/H (mentioned), I/J".
The objective is to remove the pairing(s) which are only mentionned. I would like the following output: "A/B, C/D, IJ".
I tried with this regex:
Code:
,([^&]+)/([^&]+)\s\(mentioned\)
However, the output is: "A/B, I/J".
How to write the regex so that commas are not included in the
component?