Dear All, I found this question here (https://bbs.pinggu.org/thread-10057724-1-1.html). The data is:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str55 name1 str36 name2
"泰丰(江西)制药有限公司" "泰丰制药有限公司"
"福建省龙岩市红坊水泥厂(紫金(水泥)集团)" "福建省龙岩市红坊水泥厂"
"贵州方鸿包装有限责任公司(二戈)(98)" "贵州方鸿包装有限责任公司"
"乌鲁木齐市钙素材料总厂(白杨沟分厂)" "乌鲁木齐市钙素材料总厂"
"(美联)南宁添加剂有限公司" "南宁添加剂有限公司"
"上海化学纤维(集团)有限公司(母体)" "上海化学纤维有限公司"
"格力电器(上海)(集团)有限公司" "格力电器有限公司"
"海尔(集团)空调(杭州)股份有限公司" "海尔空调股份有限公司"
end
How can we delete the words between the most left and right parentheses? In fact, `names2' is what I need.