Delete SQL Query with Regular Expression and Subquery