I have two regular expressions which work on their own, but I can't find a way to combine them, or at least they don't work together...
These are the two RegEx I try to combine:\A\s+
to remove leading space\[(.*?)\]
remove any square brackets and everything between
This is what I tried:(\A\s+)|(\[(.*?)\])
But unfortunately the square brackets and everything between are removed but not the leading space.
I'm trying this with the mass rename tool in DC (doublecmd) under linux (debian).