The best way to clear an SD card is to format it, which is like hitting a factory reset button; it'll erase every file, ...
You can format an SD card using Windows, Mac, and Android devices, and likely your digital camera too.