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! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php