Removing characters that come after a symbol

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Removing characters that come after a symbol

Postby Pexr » Thu Mar 31, 2022 3:18 am

Hello,

I have a set of files with characters in parenthesis, the thing is there's only the opening parenthesis for each one

Example :
I'd like to go from this :
filename1 (abc (defgh (ijk (lmnopq (rs.txt
filename2 (hijklmno (pqrs (tuv (wxyztxt
filename3 (ab (cdefg (hijk (lm.txt

To this :
filename1.txt
filename2.txt
filename3.txt

I need to get rid of the opening parenthesis and the characters that come after it. There's always a space before each opening parenthesis.

Any help is welcome,
thanks
Pexr
 
Posts: 5
Joined: Sat Nov 05, 2016 9:06 pm

Re: Removing characters that come after a symbol

Postby therube » Thu Mar 31, 2022 5:06 pm

1:RegEx, enable Simple:
Code: Select all
Match:  %1 (
Replace: %1


or

5:Remove, Crop -> Special, (& in the box next to that), [(*
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support