Extract text

extract_text(txt, limits = "()")

Arguments

txt

text containing parenthesis

limits

area to extract text from, c("()", "", "[]")

Value

text within limits

Examples

if (FALSE) { # \dontrun{
 extract_text(txt = "Saint Mary Hopital (SMH)")
 extract_text(txt = "TDB [Placeholder - New Mechanism]") } # }