John W. Krahn wrote:
Chris E. Rempola wrote:

/(\(\d+\.\d+\.\d+\.\d+\))/  #This prints out (10.205.143.238)

How about if I wanted to just grab the IP address itself?

Put the capturing parentheses *inside* the literal parentheses.



Ahh...That explains it.  Thanks John!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to