How do you remove all empty tables from an odt document at once?

At times when you paste a web page on an odt document, all kinds of empty tables artefacts appear.
I would like to get rid of all of them at once.
I am OK with opening the the text XML source document and parse, remove all empty tables, but I think there should be an option to so such a thing from within libreoffice’s GUI.
lbrtchx

There surely is no such tool accessible from the GUI.
If you want advice how to do such a thing by user code, you should attach an example of a odt file spoiled n the way you are complaining about.
What looks like a table row may often be a section or something else. This askbot page e.g. when pasted ino a Writer document is containing exactly one (nonempty) table but lots of elements looking like table rows. …