The above snippet does not provide any output. I wanted a regex that would be more specific; that would capture the string right after "name = "#!/usr/bin/perl $_ = `nslookup <some_ip_addr>`;/A-Za-z\.A-Za-z\.A-Za-z\.A-Za-z\./; print $&;
In reply to Re^2: Need some help with Regex
by perlmonk1
in thread Need some help with Regex
by perlmonk1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |