I've got this python-like text:

```
if a==0:
   print ok
   [1:]xy

```

I wish to delete all "[1:]" content. So I tried this:

```
%s/[1:]//g

```

Unfortunately, the first line is changed to be

```
if a==0

```

The ":" was eliminated, not as my expectation. So how should I do?