in reply to Matching string containing values between 0 and 100 inclusive

Would your professor reject if ($x >= 0 && $x <= 100) { .. }?
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]