note 52125 added to function.ereg

From: Date: Thu, 21 Apr 2005 17:00:29 +0000
Subject: note 52125 added to function.ereg
Groups: php.notes 
Request: Send a blank email to php-notes+get-88360@lists.php.net to get a copy of this message
can i use eregi to do this? i want to check for the validation of ISBN i.e. it can accept data that contain 3 dash(-), saparating 10 digits into 4 groups of no. with the first and the last group should have 1 digit only here's the examples: 0-0-0000000-0 0-00-000000-0 0-000-00000-0 0-0000-0000-0 0-00000-000-0 0-000000-00-0 0-0000000-0-0 ---- Manual Page -- http://www.php.net/manual/en/function.ereg.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52125 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52125&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52125&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52125&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52125&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52125&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52125&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88360) next »