Skip to Content
0
Apr 23, 2018 at 11:34 PM

Need to replace short dash between numbers without replacing the short dash between words

408 Views

Hi there

Here is an example of a line of text: Bio-synthetic valve, c. 1995-2001

In the above statement, I want to replace the short dash that appears between the years, but not the one that appears in the conjoined word. Is there a way I can search out 2 numeric characters followed by short dash followed by 2 numeric characters and replace the short dash with a longer em dash?

Desired end result: Bio-synthetic valve, c. 1995—2001

Any help would be greatly appreciated!

cheers

Karen