REGEX in Google Sheets with Filter

I’m trying to mix regex with a filter in Google Sheets. What I have at the moment is


The regular expression is that the final character in column Z is a digit between 1-9 but I cannot figure out how to mix the functions.

Any advice would be greatly appreciated!