In R, I have a variable Author, with the value "(Bernoulli)Cuatrec."
I want to have only the names, so I'm using the following regex:
L <- strsplit(Author,"[()]")
but that's giving me 3 strings as result:
"" "Bernoulli" "Cuatrec."
How can I do it to have only the two names, and not the empty string?
PS: My actual regex is more complicated, it's simplified here.