Is it possible to delete broken or dead links

Hello,
Is it possible to delete broken or dead links absolute and relative in a note or all notes?
Thanks?

There is a plugin for finding broken links in your vault.

Thanks, I tested it, but it seems to me that there is no command to delete the broken links directly in the note(s).

Finally, I would like to delete all the hyperlinks in files that are in the subfolders of a folder, keeping only the internal media links.
Any suggestions?

Yes, that’s why I said it’s for finding. But at least you can create a list of broken links and delete them manually step by step. I don’t know about another plugin that completely meets your requirements.

If you are on Mac or Linux, you probably could do that with sed.