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

Remove hyphens after copy paste

Explorer ,
Jun 19, 2025 Jun 19, 2025

Hi,

 

I need a GREP that selects and deletes hyphens between two characters 

I have a lot of hyphens between the characters after copying and pasting text in InDesign

remove Hyphen.png

For example, chil-dren to become children

 

Thank you

TOPICS
Type
67
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
Adobe
Community Expert ,
Jul 03, 2025 Jul 03, 2025
LATEST

@NikVetro if you wondering why your question isn't answered because you placed an Adobe InDesign post under Adobe Illustrator. Make sure for next time, you place it where it should. Be easier for people to answer it for those who use InDesign.

You can get rid of them with a clever little trick using InDesign's Find/Change feature and a special code called GREP. https://helpx.adobe.com/ca/indesign/using/find-replace-grep-queries.html

Use InDesign's powerful Find/Change feature with a special "GREP" code. To make those pesky hyphens disappear, just open Edit > Find/Change (or hit Ctrl/Cmd+F), then switch over to the GREP tab. In the "Find what:" box, simply type .\-. This little bit of code is brilliant because the . on either side tells InDesign to look for any character, and the \- in the middle specifically targets the hyphen itself (the backslash just makes sure InDesign understands we mean a literal hyphen). Finally, leave the "Change to:" field completely blank, and then you can confidently use "Change All" to swiftly remove all those unwanted hyphens, leaving your text clean and perfect, saving you so much tedious manual work!

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