You can do an interactive regexp search via the command isearch-forward-regexp
, bound to M-C-s
by default.
You can search for any upper-case letter via [A-Z]
, or [[:upper:]]
. This will take you to the first capital after point. Pressing C-s
will move to the next, which you can repeat.
To do this from elisp code, you can use the function search-forward-regexp
.
Your question is very general, so it's hard to tell how familiar you are with Emacs and elisp code in general. If you're new to elisp, the tutorial might be useful. If you have some experience and just need to get oriented to Emacs/elisp, then the manual chapter on Searching and Replacing might be what you're after.