in reply to Need help in perl regexp

"this doesnt seem to work" is not an accurate error description.

My suggestion is to split at whitespaces, and takes those records that you want. If you want to get the port, you can split the records at dots.

And please use <code>-Tags around your code and examples.

Replies are listed 'Best First'.
Re^2: Need help in perl regexp
by Himi (Novice) on Oct 05, 2007 at 10:03 UTC
    I need to implement this using regexp.
    and im new to perl and do not know
    how to use regexp.
    please help