<?php $str = "4444,4444,5555,5555,4444,4444"; if(preg_match("/^\d{4}(,\d{4})*$/",$str)){ echo "it matched"; } else { echo "no match"; }
You have javascript disabled. You will not be able to edit any code.