you can write it shorter
ruby
```
/\A\d{2}\-\d{3}\z/
```