Check the string to pattern like MSB/2006/00001
if (ereg('^MSB/[[:digit:]]{4}/[[:digit:]]{6}$', $sbcno)) {
if (ereg('^MSB/[[:digit:]]{4}/[[:digit:]]{6}$', $sbcno)) {
________________________________________________________________________________________
No comments:
Post a Comment