note 97802 rejected from function.preg-match by danbrown

From: Date: Sun, 09 May 2010 17:12:14 +0000
Subject: note 97802 rejected from function.preg-match by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169093@lists.php.net to get a copy of this message
Note Submitter: TomWestervelt at hotmail dot com ---- Sample Text String (3) Simply Put, likely favorite I want to search the string and return (3) Simply Put Where the 3 can be any number between 1 and 20, and the text can be multiple words or 1 with a max length of 24 How can I accomplish this with preg_match or preg_match_all Thanks

« previous php.notes (#169093) next »