Is there a way to select all parent and sub layers to rename?

We want to apply a rule to our layers where all layers are in lower-case and spaces are replaced with ‘_’.

Bulk renaming only seems to select the parent elements and not the sub elements as you can see via the screenshot ‘Rename 39 layers’, is there a way to select all parent and sub layers to apply a bulk rename rule?

Found 2 plugins that mostly solve my problem, the first is super select, allows you transverse the parent/child layer structure in bulk, and the second, layer names transform solves this exact problem for me of replacing all uppercase/lowercase & replacing spaces with a symbol