<?php $string = "test sample test: 2015. ŽYDRŪNAS PAVARDENIS"; preg_match_all("/[[:upper:]]+/u", $string, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.