Regex help

From: Date: Fri, 28 Jan 2005 21:59:29 +0000
Subject: Regex help
Groups: php.general 
Request: Send a blank email to php-general+get-207638@lists.php.net to get a copy of this message
OK, this is off-topic like every other "regex help" post, but I know some of you enjoy these puzzles :) I need a validation regex that will "pass" a string. The string can be no longer than some maximum length, and it can contain any characters except two consecutive ampersands (&) anywhere in the string. I'm stumped - ideas? TIA Kirk

« previous php.general (#207638) next »