in reply to Extracting IP addresses from a file...
Can you be more specific about this file? Is it a web server log? They are usually standard formats and easy to parse, often separated by a spaces.... Usually the IP address is a separate field.
Also, what regular expression are you using?
In Section
Seekers of Perl Wisdom