I know this question is asked by many people already for my research, here\'s some questions asked before
It will do the trick..
Match (n)-[r]-() Delete n,r;