I have a lot of bad data in a table and was hoping there's a query I can use to edit this data.
[{"type":"user","id":"584851"},"2":{"type":"user","id":"180269"},"3":{"type":"user","id":"140535"}]
and here's how I need it to look...
[{"type":"user","id":"584851"},{"type":"user","id":"180269"},{"type":"user","id":"140535"}]
So basically removing all occurrences of ' "2": ' (the number will differ)
Is there a simple query to do this or will I need to write something in php to do the job?