companies <- data.frame(Name=c("Company A Inc (COMPA)","Company B (BEELINE)", "Company C Inc. (Coco)", "Company D Inc.", "Company E"))
gsub("\\s*(\\([^()]*(?:(?1)[^()]*)*\\))", "", companies$Name, perl=TRUE)
Y29tcGFuaWVzICA8LSAgZGF0YS5mcmFtZShOYW1lPWMoIkNvbXBhbnkgQSBJbmMgKENPTVBBKSIsIkNvbXBhbnkgQiAoQkVFTElORSkiLCAiQ29tcGFueSBDIEluYy4gKENvY28pIiwgIkNvbXBhbnkgRCBJbmMuIiwgIkNvbXBhbnkgRSIpKQpnc3ViKCJcXHMqKFxcKFteKCldKig/Oig/MSlbXigpXSopKlxcKSkiLCAiIiwgY29tcGFuaWVzJE5hbWUsIHBlcmw9VFJVRSk=