<?php $sFullPermComment = 'YNYNYNN'; preg_match("/^(Y|N).....(?<!\\1{7,7})$/", $sFullPermComment,$matches); echo print_r($matches, true);
You have javascript disabled. You will not be able to edit any code.