in reply to Match Ip Address on cmd line

So, what have you tried, where did you fail? Perlmonks is not a code writing service.

And by the way: Do you want to match only IPv4 addresses or also IPv6 addresses?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)