Regeneration of the filtering material or filter elements outside the filter for liquid or gaseous fluids of rigid self-supporting filtering material