I'm trying to build a script to automagically black-list spammers. How can I extract the ip address from between [ ]?
turn this: Received: from 24.60.195.149 (h00a0cce008a4.ne.client2.attbi.com [24.60.195.149]) Received: from 11.139.74.233 ([11.139.74.233]) by n7.groups.yahoo.com with NNFMP; May, 17 2003 1:51:07 AM +0700 Received: from 30.215.79.204 ([30.215.79.204]) by m10.grp.snv.yahoo.com with SMTP; May, 17 2003 12:44:43 AM -0800 into this: 24.60.195.149 11.139.74.233 30.215.79.204 --Bryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]