D'Oh - I just saw the /4 bit. What I should have said is: sed 's/"\([^"]*\)"/\1/3' quoted.txt Where you replace the 3 with N. It's better because you don't have to worry about the commas and spaces. -Cam