I am trying to use regex for normal string validation. Tried various regular expression but struts2 validation didn't work for me. In below example I am trying to validate string which will have only Capital letters A to Z. Can anyone help me to find correct regular expression for validating string with special characters.
<message><![CDATA[ regexValidatorField must have all capilate A- Z characters ]]></message>