I have a text file with the following
475M3PAC(KEMET),
0CA-13-F(DIO),NO
BZG053V3,BZG05C3V3(VISHAY),YES
How can I search and replace everything between the two ( ) including the '(' and ')' characters so the file ends up looking like this
475M3PAC,
0CA-13-F,NO
BZG053V3,BZG05C3V3,YES
replace all chars between '(' and ')' including '(' and ')'?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
I'd use in the find, and replace with nothing.
It changes a(b)c(d)e(f)g to aceg, while ben_josephs version would result in ag
Code: Select all
\(.*?\)It changes a(b)c(d)e(f)g to aceg, while ben_josephs version would result in ag
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm