Monday, March 15, 2010

REGEX: IPv4 Address

<?php
$ip = '/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/';
?>

No comments:

Post a Comment