How to mask square brackets?