<?php $my_var = '123'; if(preg_match('~^[\d]+$~', $my_var)) { echo 'Yes!'; }
You have javascript disabled. You will not be able to edit any code.