I have a scv file that is currently formatted like this:
INSERT INTO `kindle_reviews` VALUES (stuff I want); INSERT INTO `kindle_reviews` VALUES (stuff I want);
I would like to obtain the (stuff I want) and remove the 'INSERT INTO kindle_reviews VALUES ' part of every line.
Some command I tried on terminal:
sed -i -e 's/INSERT INTO 'kindle_reviews' VALUES //g' Untitled.csv
This did not work due to this error:
sed: 1: "s|</td><td><INSERT INTO ...": unterminated substitute pattern
Is it possible to remove a substring on every line of the csv file? Thank you very much