Centers text and extracts masking operation to booleane expr.