Re[2]: [PHP] Regex for Amateur Radio Callsigns

From: Date: Wed, 16 Nov 2005 13:57:08 +0000
Subject: Re[2]: [PHP] Regex for Amateur Radio Callsigns
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-225953@lists.php.net to get a copy of this message
Hello Leonard, Tuesday, November 15, 2005, 8:39:19 PM, you wrote: > Here are how they look > W1W > W1AW > WA1W > AD4HZ > N9URK > WB6NOA > 4N1UBG Let's do it this way... What are the rules for a valid callsign? i.e. - If it's only three characters, it must start with a letter. - All callsigns must have both alpha and numeric components. - A callsign can not have to identical letters next to each other - A callsign is always written in uppercase etc. If we know what the rules are that constitute a valid callsign, then we can help you write a regexp. -- TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B __ ____ ____ ____ Geocaching: http://gps.PCWize.com ( ) ( ___)(_ _)( ___) TBUDP Wiki Site: http://www.PCWize.com/thebat/tbudp )(__ )__) _)(_ )__) Roguemoticons & Smileys: http://PCWize.com/thebat (____)(____)(____)(__) PHP Tutorials and snippets: http://www.DevTek.org Do not disturb. Already disturbed!

« previous php.general (#225953) next »