Return to Snippet

Revision: 17168
at August 25, 2009 23:37 by joet3ch


Initial Code
preg_match('/^(?:25[0-5]|2[0-4]d|1dd|[1-9]d|d)(?:[.](?:25[0-5]|2[0-4]d|1dd|[1-9]d|d)){3}$/',$ip)

Initial URL

                                

Initial Description

                                

Initial Title
regex to test ip v4 address

Initial Tags
regex, textmate, ip

Initial Language
Other