Hey guys,
Is there an easy way to extract an specific part from file names?
1800_10-Q_2012-05-08_0001104659-12-034444
I´m trying to extract the whole part from _ (0001104659-12-034444).
My code so far: str_extract(df$document, pattern = "(?<=\-)\d+(?=\.)")
Result: 034444
Can´t manage to get it to extract the whole number at the end. If I use "_" as start point it just gets me "NA"
Thanks a lot for all help!