E Online Support - Free Software Download
Regex to find first capital letter occurrence in a string
I want to find the index of first capital letter occurrence in a string.
E.g. -

String x = "soHaM";

Index should return 2 for this string. The regex should ignore all other capital letters after the first one is found. If there are no capital letters found then it should return 0. Please help.
Jitendra
Question*:
Description*:
Script:
Related To:
 PHP    HTML    CSS    JAVASCRIPT    JQUERY   
 AJAX    WINDOWS    GAMES    DRIVERS    MAC   
 LINUX    MOBILE    GADGETS   
Security Code:
4587
Enter Security Code:
 
Facebook   Linkedin   Skype   Twitter