I\'m still a beginner at regex so this is a little above me currently.
I need to validate a number input to two characters and it can\'t be more than the value 12.>
For something like this (testing if an integer is less than a given value), you should really not use a regex.
Instead, just use a simple condition like this one (the syntax will depend on the language you're working with) :
if ($variable <= 12) { // OK } else { // Not OK }