<?php $matches = array(); preg_match('/^(.*)-keyword-(\d+)-([\w]+)\..+$/', 'aa-bb-cc-keyword-12345-lastword.ext', $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.