with this code
\documentclass{article}\usepackage{graphicx} % Required for inserting images\begin{document} \newcommand{\TeIII}{ tit e3 } \newcommand{\AeIII}{\UseName{author24} } \newcommand{\ARTeIII}{TITLE ARTICLE III Article 3 article 3 Article 3 article 3 Article 3 article 3 .Article 3 article 3 Article 3 article 3 } \def\tmp#1.#2\tmp{#1}\expandafter\def\expandafter\MeIII\expandafter{\expandafter\tmp\ARTeIII\tmp}\TeIII\ARTeIII\MeIII\end{document}
I can extract and then display the value of variable ARTeIII and MeIIII would valorize also the variable TeIII that is composed of the capital text of the vaiable ARTeIII. I mean as minimum 2 or 3 capital letter consecutive. (not the other cpaital letter following full stop.)Renato