Using the following snippet, you will be able to delete links in comments in WordPress.

Snippet Source/Credit: Snipplr