Help Removing Parentheses and Text Inside Them + Brackets

A swapping-ground for Regular Expression syntax

Help Removing Parentheses and Text Inside Them + Brackets

Postby Jose7822 » Mon Jun 08, 2026 5:48 am

Hi all!

As the title says, I would like to remove the parentheses symbols *(), as well as the texts inside them, from a bunch of files. In addition, I would also like I Just the brackets *{} removed, without affecting the text inside.

An example would be:

From this: {{??????????}}?????????

To this: ???????????

I found this thread that explains how to do it, but I'm not getting it to work for me:

viewtopic.php?f=4&t=6690

The expression suggested in that thread only seems to target the parentheses but nothing else. Also. the "Rename" button is greyed out for me. I can't do anything. What am I missing?

Thanks!!
Jose7822
 
Posts: 10
Joined: Wed Dec 25, 2024 1:36 pm

Re: Help Removing Parentheses and Text Inside Them + Brackets

Postby Jose7822 » Mon Jun 08, 2026 5:54 am

I keep forgetting that Japanese characters don't show up in here.

Anyway, the idea is to remove the parentheses (along with the text inside them and the spaces around the parentheses) as well as the brackets (while keeping the text inside them intact).
Jose7822
 
Posts: 10
Joined: Wed Dec 25, 2024 1:36 pm

Re: Help Removing Parentheses and Text Inside Them + Brackets

Postby therube » Mon Jun 08, 2026 6:51 pm

Not quite sure if you're looking for parenthesis or brackets (or both at different times).
Anyhow... one method...

3:Replace
Replace: (*)
With:<nul>

should take care of; () (123) (abc) ...
Now there might be some <sp> padding issues, so you could change your Replace:
to something like: Replace:<sp>(*), or whatever works on your end.


---


3:Replace
Replace: [|]
With:<nul>

should take car of; [] [123] [abc]..., leaving <nul>, 123, abc
therube
 
Posts: 1474
Joined: Mon Jan 18, 2016 6:23 pm


Return to Regular Expressions