Interesting that it's possible with RES. But it requires the user to copy paste some code.
A better automated approach:
PowerDeleteSuite. Smooth process, can recommend. AMA if you have troubles or questions.
Also allows you to replace posts/comments with another text, for example hints where to go instead.