<?php $subject = "#CAPTIONz"; $pattern = '/^#([A-Z]+)$/'; echo preg_match($pattern, $subject, $matches, PREG_OFFSET_CAPTURE); print_r($matches);
You have javascript disabled. You will not be able to edit any code.