... .]?(\d{4})$/";$values = array("80 055 5 123 4", // (800) 55 5- 123 4"800 .55 5. 123 4", // (800) 55 5- 123 4"800 -55 5- 123 4", // (800) 55 5- 123 4"800 .55 5. 123 4", // (800) 55 5- 123 4"800 ... canvas.if ($animage = imagecreate (50 0, 50 0)){//Now, let's allocate the background color and line color.$white = imagecolorallocate ($animage, 25 5 , 25 5 , 25 5 );$black = imagecolorallocate ... imagecolorallocate ($animage, 25 5 , 25 5 , 25 5 );$black = imagecolorallocate ($animage, 0, 0, 0);//Now, let's draw the rectangle over the background, and surround//it with a black line.imagefilledrectangle...