I am having a problem with a regex find and replace in Word 2010 (Windows 7).
I want to convert reference citation numbers in parentheses to the same numbers in brackets. For example, (20-23) should become [20-23], (19, 20) should become [19, 20].
I have the following Find what:
and Replace with: [\1]
But this puts the found expression before the brackets, instead of within. (20-23) becomes 20-23, (19, 20) becomes 19, 20
Can anyone tell me the correct syntax for this replace?