Character Style with Variable
- This topic has 2 replies, 2 voices, and was last updated 7 years, 5 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign User Groups / Character Style with Variable
Learn / Forums / InDesign User Groups / Character Style with Variable
Tagged: variable characterStyle
Hi everyone,
I created a custom text variable which contains number and words in it. eg.: text1234
I want to use a green character style which apply only on numbers within variable.
i used grep ( (?<=\l)\d+ )for this but did not works in this case. but it works with only text character.
could anyone please help me ?? how to do this
Do you mean a real text variable? If so, you can just use the code ~v
which finds any text variable.
Great! I found it useful. But what if I want to select a small portion of it. not the whole variable…
e.g. Thanksyou
--- is a variable
In this scenario, I want to select you<you> and apply a character style on it. Is it possible, or any other way to capture that character.
and thanks for your quick reply
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!