I am writing an e-lisp function in my .emacs file to help process Bibtex entries I copy from Google-Scholar. Let's consider this example:
@article{jacobsen2011full,
title={A full hydro-and morphodynamic description of breaker bar development},
author={Jacobsen, Niels Gj{\o}l},
year={2011},
publisher={DTU Mechanical Engineering}
}
I would like to extract the entry name "jacobsen2011full" that will always be between "{" and "," but the position from the start is not always constant.
So how to go on about that???
I do not process the text inside a buffer. As mentioned I want to write an e-lisp function.