SyntaxFix
Write A Post
Hire A Developer
Questions
It will do the trick..
Match (n)-[r]-() Delete n,r;