I'm using R and would like to create an in-text from a full citation using regex. For instance, I have:
Ali, D. A., Deininger, K., & Goldstein, M. (2014). Environmental and gender
impacts of land tenure regularization in Africa: Pilot evidence from Rwanda.
Journal of Development Economics, 110, 262–275.
I would like a regex that pulls all information up to the first 4-digit number, including the parathesis. Like this:
Ali, D. A., Deininger, K., & Goldstein, M. (2014)
Any suggestions? Thanks.