There's more than one way to do things | |
PerlMonks |
Re: Getting an IP out of a stringby raflach (Pilgrim) |
on Aug 16, 2000 at 21:40 UTC ( [id://28156]=note: print w/replies, xml ) | Need Help?? |
surround the regex to match the IP with parens, and then use the $1 variable to grab what was matched
In Section
Seekers of Perl Wisdom
|
|