Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

IPv4 regex

by ryan (Pilgrim)
on Feb 18, 2001 at 17:05 UTC ( [id://59241]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /(^(\d{1,3}\.){3})\d{1,3}$/
  2. or download this
    /^\d+\.\d+\.\d+\.\d+$/
  3. or download this
    if ($var1 =~ /$regex/&&$var2 =~ /$regex/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://59241]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found