i will be sending some commands to printer which will be of this format.

```
{AA00:00;|}
{AAB08:02;|}

```

where { is always the first character, } is always the end character,|is always the last but one character. in between these i will have specific commands AA00:00; and this may vary.

I want to check these format in regex and I am new to regex, any help would be appreciated.