Hi All,

I am trying to find matches wherever there is an ip address in the xsl and xml files under a parent directory(It contains subdirectories as well). In MS Dos below command doesnt work.

Could anyone please give me the perl snippet to find the ip address matches?

findstr /r "/^(?:(?:1\d?\d|[1-9]?\d|2[0-4]\d|25[0-5])\.){3}(?:1\d?\d|[1-9]?\d|2[0-4]\d|25[0-5])$/" *.xsl

my $ip = 'this once was a cat name 204.158.156 but was 69';

$ip =~ /(\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3})/g;

print $1;