2 Replies Latest reply on May 17, 2016 11:12 AM by SJRiegel

    Using Grep to replace hypens

    Joe Seven Level 1

      Hi all,

       

      I am trying to change all the year spans in a document so that hypens are replaces with en dashes. The hypens all have a space before and after them:

       

      ie

       

      want to change:

       

      1970 - 1995

       

      to

       

      1970–1995

       

      Obviously it would be great to not change hyphens that reside elsewhere in the INDD doc. Any tips would be appreciated! Thanks.