How to save data from Serial Monitor to a csv file

If that SD card is connected to the Arduino, you can write the same data (that you send to the serial monitor) to the SD card in your Arduino application.

If that SD card is on the PC, see Nick_Pyner's post above.