How to do a regex-based / tag-based deployment trigger for Gitlab CI

I am looking to see how to do a regex-based / tag-based deployment trigger for Gitlab CI
I have the EE 7.12 version