Another potential solution would be ...
If (sms_number.length >= 5 AND sms_number.length <=6 AND SMS_MESSAGE contains alpha numerics only (no $,.) {Do this thing}
but as I said, my regex is horrible, I wouldn't be able to write it and worse yet, Regex formatting seems to be different then the...