How to select all notes or macro to delete all of them?

Hallo,
I need to bulk delete all notes from a long writer document (LO 4.0.0.3).
I tryed with find+replace but couldn’t find a way to find the note insertions.
I guess I need a macro.
If it is simple, can anyone help me?
Thank you.

Do you refer to footnotes/endnotes?

That works fine for me with the extension

Alternative dialog Find & Replace for Writer :

Search for → Extended → [::Footnote::].

delete-all-footnotes

(For endnotes select: [::Endnote::])

Graet, thank you. that should really be part of the main software -too useful