nix, shell, perl, php, mysql and mac os x tips and tricks

Monday, May 28, 2007

regular expression to parse country code out of whois output

^[Cc]ountry.+:.+([A-Z]{2}).+$

No comments:

Post a Comment