<?php preg_match('#^/search/(?P<mac>(?:[[:xdigit:]]{2}([-:]))(?:[[:xdigit:]]{2}\\2){4}[[:xdigit:]]{2})$#s', '/search/aa:aa:aa:aa:aa:aa', $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.