Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Character Style with Variable

Return to Member Forum

  • Author
    Posts
    • #89753
      Varun Kumar
      Member

      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 ( (?<=)\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

    • #89755
      David Blatner
      Keymaster

      Do you mean a real text variable? If so, you can just use the code ~v which finds any text variable.

    • #89898
      Varun Kumar
      Member

      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

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Forum Ads