ereg("([0-9]{5}) | ([A-Z]{3}) | ([a-zA-Z]*,[a-zA-Z]{2})" That should pick up zip codes or airport codes or city state? (PHP)