For this string
Some AB, Author C., Names DEF. The title string. T journal name 2018;10:560-564
I would like to get just the authors. So I tried to split for .
(dot and space).
But using the regex /^(.*)(?:\.\s).*/
doesn't match for my expected Some AB, Author C., Names DEF
, instead I do get also the title as my first match.
I don't understand why. Maybe someone can explain what I'm doing wrong.