File attachment links: how to remove?

Hi, I have a library that has a number of records to which I have attached files (as relative links). But the actual pdfs no longer exist, and I would like to globally delete all the links. Is that somehow possible?