Regex expression limiting number to two digits - not working

I need to enter a two-digit number between 0 and 25 (some will be two digist beginning with zero), and I'm using this expression in XLSform:

regex(.,'[A-Z0-9]{2}')

I've tried several other variations on this expression, including the above without the "A-Z", but all to no avail. It doesn't seem like I can enter anything without bringing up my constraint message.

It's a text question with numbers appearance.

Thanks for any help on this!

@Monkeyhippy You may try this:
regex(.,’(^[0-1]{1}[0-9]{1}$)|(^2[0-5]{1}$)’)