<?php preg_match('|^\w+-(\w+)-\w*-\w+$|', '1234-123--132', $m);
You have javascript disabled. You will not be able to edit any code.