Looking for a regular expression> I'm looking for a regular expression that will fetch IP addresses from a file such as > /var/log/messages etc. So far, I have a start, it looks like this: something like $ cat /var/log/messages | sed -n -e "s/^.*IP //g" -n -e "s/ on.*//p" should probably work --Ray Strode