I have a list of references, e.g.,
references <- c(
"Dumitru, T.A., Smith, D., Chang, E.Z., and Graham, S.A., 2001, Uplift, exhumation, and deformation in the Japanese Mt Everest, Paleozoic and Mesozoic tectonic evolution of central Africa: from continental assembly to intracontinental deformation: Journal of Neverland, v. 3, no. 192, p. 71-199.",
"Dumitru, T.A., Smith, D., Chang, E.Z., and Graham, S.A., 2001, Uplift, exhumation, and deformation in the Japanese Mt Everest, Paleozoic and Mesozoic tectonic evolution of central Africa: from continental assembly to intracontinental deformation: Journal of Neverland, no. 3.",
"Dumitru, T.A., Smith, D., Chang, E.Z., and Graham, S.A., 2001, Uplift, exhumation, and deformation in the Japanese Mt Everest, Paleozoic and Mesozoic tectonic evolution of central Africa: from continental assembly to intracontinental deformation: Journal of Neverland, p. 71-199."
)
I've tried (?<=:)(?.*)(?=(v\.)|(no\.)|(p\.))
but the regex returned 'from continental assembly to intracontinental deformation: Journal of Neverland, v. 3, no. 192, p.' not what I intended to extract.
(?<=:)(?:[^:].*?)(?=(, v\.)|(, no\.)|(, p\.))
What I expect is 'Journal of Neverland' but the return is ' from continental assembly to intracontinental deformation: Journal of Neverland'