in reply to
Regexp to match IP address
You have an important error in your code, your only matching 4
digits
separated by dots, I think you want
/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
That will match 4 sets of 1 to 3 digits separated by dots.
Comment on
Re: Regexp to match IP address
Download
Code
In Section
Seekers of Perl Wisdom