Penso che puoi fare cosi

codice:
$id = $_GET['id'];
$id = str_replace('|',',',$id);
$query = "delete from tabella where campo in ($id)";
etc...