I tried this, https://tex.stackexchange.com/a/111725/44227, it works only for string has no blank space between words in the journal entry, for example
MWE:
Case 1: without blank space in Journal entry
\begin{filecontents*}{test.bib}
@article{ugrinovskii13,
doi = {10.1109/tac.2013.2256675},
author={Valery Ugrinovskii},
volume = {58},
number = {10},
pages = {2659-2664},
title = {Conditions for Detectability in Distributed Consensus-Based Observer Networks},
journal =TAC
}
\end{filecontents*}
\begin{filecontents*}{abbr.bib}
@STRING{TAC = "IEEE trans. Automat. Contr."}
\end{filecontents*}
\documentclass{article}
\usepackage{cite}
\usepackage{url}
\begin{document}
\cite{ugrinovskii13}
\bibliographystyle{IEEEtran}
\bibliography{abbr,test}
\end{document}
Output

Case 2: with blank space in Journal entry
\begin{filecontents*}{test.bib}
@article{ugrinovskii13,
doi = {10.1109/tac.2013.2256675},
author={Valery Ugrinovskii},
volume = {58},
number = {10},
pages = {2659-2664},
title = {Conditions for Detectability in Distributed Consensus-Based Observer Networks},
journal = IEEE Transactions on Automatic Control
}
\end{filecontents*}
\begin{filecontents*}{abbr.bib}
@STRING{IEEE Transactions on Automatic Control = "IEEE trans. Automat. Contr."}
\end{filecontents*}
\documentclass{article}
\usepackage{cite}
\usepackage{url}
\begin{document}
\cite{ugrinovskii13}
\bibliographystyle{IEEEtran}
\bibliography{abbr,test}
\end{document}
Output

The difference between two cases lying in journal and @STRING.
My question is that how to solve the Case 2 problem without using Case 1 solution, that is, I want preserve the journal entry in Case 2.
how it works only for string has no blank space between words: I don't understand. Please provide a MWE – Clément Feb 09 '15 at 08:11{IEEE} Tra....instead? Andtis capitalized in the compressed form. JabRef has an option to shorten or expand journal names. And it has been done already https://github.com/JabRef/reference-abbreviations/blob/master/journals/journal_abbreviations_ieee.txt – percusse Feb 09 '15 at 08:49MWEis provided as well. – wayne Feb 09 '15 at 08:51{IEEE} Tra....in thejournaland@STRINGentries, it came out the same way, butIEEEinstead ofieee. – wayne Feb 09 '15 at 08:58