The command apt-get allows wildcards for (auto) removing packages. However, apt doesn't seem to work the same way. For example...
sudo apt autoremove libreoffice*
...gives the following error...
E: Unable to locate package libreoffice*
Can apt be used with wildcards, like apt-get?