Changing brackets shape - from () to []

A swapping-ground for Regular Expression syntax

Changing brackets shape - from () to []

Postby mamaijee » Sun Mar 20, 2016 6:50 pm

Pls help me with a regex to change in a file name "(" to"[" and ")" to "]"

eg
Change
Cindy Graham - Slow Cooker 7 Books (Chicken and Fish).pdf
to
Cindy Graham - Slow Cooker 7 Books [Chicken and Fish].pdf

The bracketed words could be anywhere in the file name, not necessarily at the end only.

Many thanks in advance
mamaijee
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Changing brackets shape - from () to []

Postby Admin » Mon Mar 21, 2016 2:45 am

Use Character Translations in Special (14)
Admin
Site Admin
 
Posts: 1467
Joined: Tue Mar 08, 2005 8:39 pm

Re: Changing brackets shape - from () to []

Postby mamaijee » Mon Mar 21, 2016 3:39 am

Admin wrote:Use Character Translations in Special (14)


On my BRU screen there is no Special 14!!!
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Changing brackets shape - from () to []

Postby Admin » Mon Mar 21, 2016 6:18 am

Hi, please download version 3, thanks
Admin
Site Admin
 
Posts: 1467
Joined: Tue Mar 08, 2005 8:39 pm


Return to Regular Expressions