Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Regexp to match IP address

by integral (Hermit)
on Aug 06, 2004 at 14:34 UTC ( #380568=note: print w/replies, xml ) Need Help??


in reply to Regexp to match IP address

As well writing a (large) regexp yourself, there's Regexp::Common::net which packages up a regexp for matching ipv4 addresses.

(It uses a similar regexp to dsb's and mawe's above.)

--
integral, resident of freenode's #perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://380568]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-02-23 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.