I have a field which contains strings like "0","1"..."10","11"..."23".
How do I get an if statement where I take only fields which match single digits? ie. "0","1"...."9"?
Currently what I have is this:
if [tmHour] =~ /[0-9]{1}/ {
*code here*
}
But it still matches everything.