Skip to main content
November 24, 2025
Answered

Glyph at the end of every paragraph

  • November 24, 2025
  • 2 replies
  • 607 views

Hi. I'm working with InDesign 2026. I want to add a specific character at the end of every paragraph (see example). I don't know what is better: a nested style? A GREP style?

Correct answer Peter Kahrel

Hey Peter. It's working but when I change it the new character replaces the period at the end of the sentence (see image). Is there a way to exclude that from the find? In my example, I can add a period in the "Change to" field, but that will be aproblem when paragraphs end with different punctuation marks. 

Is tehre a way around this?

 


Ugh, how silly. I missed that when I tried it. You'll have to use the first method (in the GREP tab) :

 

Find what: $

Change to:<Your character>

 

When you run that query again later, you'll end up with two (or more) of the characters at the end of the paragraph, which you can fix with the following query (assuming your character is x) :

 

Find what: x\Kx+

Change to: <Leave empty>

 

 

2 replies

Peter Kahrel
Community Expert
Community Expert
November 24, 2025

You can't insert characters with a nested style or a grep style, you'll have to insert it using the Find/Change window. It's easy enough:

 

Find what: $

Change to: <Your character>

 

By looking for the end-of-paragraph marker ($) you are in fact looking for the paragraph's last insertion point, so the query inserts your character into that insertion point, i.e. at the end of the paragraph.

 

(Edit)

 

Better to use this (replace 'x' with your character):

 

Find what: [^x]$

Change to: x

 

so that you can run the query again after any paragraphs were added.

November 25, 2025

Hey Peter, 

 

Thanks for your reply, big fan of your scripts here. The first part of solution worked with some notation changes (for some reason my default end-of-paragraph marker is ^p... or maybe that's what you intended with the $? I'm an ignorant of this).

The second part didn't work (see image). I guess I can always duplicate it and then "clean up" duplicate character after every insertion with the same find/change (find duplicates and change for single characters), but it is not as practical. 

An I doing something wrong? 

 

 

Peter Kahrel
Community Expert
Community Expert
November 25, 2025

Sorry, forgot to mention that you need to do this in the GREP tab.

November 24, 2025

Just to clarify, I've seen this similar discussion 

https://community.adobe.com/t5/indesign-discussions/add-a-custom-character-at-end-of-paragraph/m-p/8699656

 

The solutions given there use para styles, which I can't use given that I need the glyphs placed in the same line as the rest of the text. 

BobLevine
Community Expert
Community Expert
November 24, 2025

Look at my comments in that discussion. Just skip the soft return and the character will stay on the same line. 

Peter Kahrel
Community Expert
Community Expert
November 24, 2025

The solutions in the other discussion assume that the character is already present. That's not the case here (and wasn't in the other discussion either). You can't insert a character using a nested (grep) style.