<?php // create a string $string = '123'; // look for a match echo preg_match("/[0-9]{3}/", $string, $matches);
You have javascript disabled. You will not be able to edit any code.