powered by
Separates references cited in brackets or parentheses into multiple rows and splits the comma-delimited numeric strings and expands ranges like 7-9 into new rows
separate_refs(txt, column = "text")
a tibble
a table
column name, default "text"
Chris Stubben
x <- data.frame(row = 1, text = "some important studies [7-9,15]") separate_refs(x)
Run the code above in your browser using DataLab