Grep for adding a ® symbol Daniel Oliveira Learn / Forums / General InDesign Topics / Grep for adding a ® symbol This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by Daniel Oliveira. Viewing 4 reply threads Author Posts May 22, 2020 at 5:45 am #1251803 Daniel OliveiraMember Hi: Appealing to some grep guru master here on the forum: I need to add ® at the end of every word of a given character style. That word is always at the beginning of a paragraph (but not all paragraphs). eg.: Word(with character style applied to it different than sentence ahead) is a beautiful word. Word® is a beautiful word. Thanks i advance! Danny May 22, 2020 at 6:24 am #1251814 David BlatnerKeymaster Is it only when that word is both at the beginning of the sentence and also has the character style? To search for “Word” at the beginning of the paragraph, you can use the grep tab in Find/Change and search for ^Word May 22, 2020 at 6:34 am #1251824 Daniel OliveiraMember Hi David: Damn you’re fast. Thanks. I didn’t express myself well. The “word” is in fact many different words but always with that given character style. And yes always at the beginning of a sentence. And in fact is not always just a word… it can be two or even three (at the most) words also ;-) Is it possible? May 22, 2020 at 6:48 am #1251844 David BlatnerKeymaster Sometimes I’m fast and sometimes I’m slow. :-) Yes, this works. In the image below, the character style is called “ProductName” I should add: The codes are ^.+ and $0~r May 22, 2020 at 6:56 am #1251864 Daniel OliveiraMember That worked fine. Thanks! Author Posts Viewing 4 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In