SQL:

DELETE from wp_posts where post_name LIKE "%-2";