<?php preg_match('/^blog\/(?P<year>[0-9]+){4}$/', 'blog/12345', $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.