Replace also consecutive blocks with | already substituted