in reply to Getting an IP out of a string
surround the regex to match the IP with parens, and then use the $1 variable to grab what was matchedm/(regex to match IP)/; print $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Getting an IP out of a string
by merlyn (Sage) on Aug 16, 2000 at 22:14 UTC | |
by bliz (Acolyte) on Aug 16, 2000 at 22:48 UTC | |
by Kozz (Friar) on Aug 17, 2000 at 01:10 UTC |