Let's say I have a string:
x <- "This is a string (Yay, string!)"
I'd like to parse the string and return "Yay, string!"
How do I do that?
I tried a bunch of grep/grepl/gsub/sub/etc but couldn't find the right combination of regex or arguments. Sigh. I need to work on the regex skills.