Regularity lemmas for (hyper)graphs 1