<?php $string = "1234@#$ABCFG3478&*"; $result = preg_replace("/[^A-Z]+/", "", $string); var_dump($result);
You have javascript disabled. You will not be able to edit any code.