I have a query that returns a column with a string I need to clean up. I would like to remove the portion of this string that starts with ",id:" and ends right before ")". The string could have many occurrences of the substring to be removed. The alphanumeric substring that follows "id:" is always the same length.
This is a sample string:
(label:Boston,include:true,id:9fc53def-0b9d-45cb-8f12-d42c3ca70ab2),
(label:Cambridge,include:true,id:dda3d6d7-f9d1-45ac-ac6e-5866b356966e)
This is the string I would like to see at the end:
(label:Boston,include:true),
(label:Cambridge,include:true)