Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

replace double hyphens with emdashes

Engaged ,
May 11, 2023 May 11, 2023

Can I use find and replace to change all double-hyphens to emdashes?
If so, how?

TOPICS
Print , Type
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , May 11, 2023 May 11, 2023

Hi @Kelli Jae Baeli, you're on the right track.

Just change the "Change To" field with the correct metacharacter for an em-dash: ^_ (underscore).

 

Translate
Engaged ,
May 11, 2023 May 11, 2023

I thought I found it. I didn't see the pull down on the REPLACE box. I selected emdash there. BUT...it replaces it with a dash. NOT an emdash. What am I doing wrong?
Find_Change double hyphens to emdashes.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 11, 2023 May 11, 2023

Hi @Kelli Jae Baeli, you're on the right track.

Just change the "Change To" field with the correct metacharacter for an em-dash: ^_ (underscore).

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 12, 2023 May 12, 2023

Thank you! That worked.

Now, why would they put the wrong code for the emdash in that selection box?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 12, 2023 May 12, 2023
LATEST

Could be a mouse slip or mis-click.

^~ = a nonbreaking hyphen, which is at the bottom of that drop-down menu after the en-dash.

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines