<?php $ipString = "ffff:eeee:dddd:cccc:bbbb:aaaa:9999:8888"; $test = array(); preg_match("/^([0-9a-fA-F]+:?)$", $ipString, $test); var_dump($test); ?>
You have javascript disabled. You will not be able to edit any code.