Remove text within brackets

From LemonWiki共筆
Revision as of 15:56, 13 March 2023 by Unknown user (talk)
Jump to navigation Jump to search

How to remove text within brackets/parentheses 移除刮號內的文字

How to remove text within brackets/parentheses in Google sheets

Before & After

  • 國內生產總值(GDP) -> 國內生產總值
  • 國家情報委員會(NIC) -> 國家情報委員會

How to

  • =REGEXREPLACE(A1, "([\(|(][^(|)|\(|\)]+[)|\)])", "")

How to remove text within brackets/parentheses in Excel