I have a large file that looks like this
(something,something1,something2),(something,something1,something2)
how do I use sed and find ),(
and replace it with );(
or add a newline between the parentheses that has a comma character.
I did try sed 's/),(/),\n(/g' filename.txt
but for some reason it does not work