<?php preg_match('/^([a-z0-9_]+)((?:::)([a-z0-9_]+))+/', 'lol::whut::gee::loo', $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.