Ansible list hosts in specific group

ansible ubuntu --list-hosts
ansible centos --list-hosts
We can list all hosts:
ansible all --list-hosts
Using regexps for hosts ending in 3:
ansible ~.*3 --list-hosts