The sand can often be very difficult and time consuming to remove from carpets and rugs.
The first step to effectively remove the sand to take all the carpets, then one by one to beat them from below with an appropriate tool to free the loose sand as far as possible and to help anchor the sand surface.
The second step is to lay the carpet down and use a stiff bristle brush or wallpaper brush to agitate their details. This will also help to release particles from the embedded fibers, lifting them to the surface. Work the brush in opposite directions and ensure that all areas are sufficiently agitated.
Again, the vacuum the carpet in opposite directions and continue to do so until all the sand was removed. If at first beat them enough, then vacuum should not prevent the sand traction, but if you must go back to step one and repeat the process.
If the carpet of your car were covered by sand deposits, they too must be treated equally.
One thing you should not do when trying to clean the sand is wet the surface with a cleaning product, for example, because the liquid will wet and encapsulate the particles of sand down deeper into the fibers and will be even more difficult to remove.