Back

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

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: GREP Style to Find text by Character Count #90399
    Donna Morris
    Member

    I want to change style Based on character count

    [^*]{1,100} = Small text — 18pt — This works in my Paragraph style
    [^*]{101,250} = Medium text — 16pt — but I lose my styles
    [^*]{251,400} = Normal text — 14pt
    [^*]{401,1000} = Large text — 10 pt

    I see the word Mixed in the Character Style Panel when I test the switches.

    Can anyone help? Thanks

    in reply to: GREP, how to select everything except a specific word #90365
    Donna Morris
    Member

    Thank you for your feed back!!!!!

    Seems both your solutions would apply the same style to the text. I needed separate styles.
    Kept searching around before both of your replies:
    I’m using this:

    Style 1 ^.*CONTRACT IN.*$
    Style 2 ^.*SOLD IN.*$

    So far that seems to work.

    On the same Project — my next challenge is to Change Style based on Character count in a text box… Is that possible with Grep? — should i make a new post?

    in reply to: GREP, how to select everything except a specific word #90357
    Donna Morris
    Member

    newbie with Grep and InDesign.. Loving it to control styling. This was the closest clue I could find in the forum. BUT I need the whole string with a changing number.

    I need to apply specific styling — mostly changing the font size. I have three styles working.
    SOLD (?-i)(SOLD)
    JUST LISTED (?-i)(JUST LISTED)
    UNDER CONTRACT (?-i)(UNDER CONTRACT)
    This will be feed as data to my text — and I can control that the above will always be this text.

    Problem:
    I need a different font size for “UNDER CONTRACT IN 23 DAYS” & “SOLD IN 23 DAYS” — the number of days may change.
    I need to create GREP to find those strings even when the number of days is different. — Right now it only works if I type in “UNDER CONTRACT IN 23 DAYS” exactly I can’t get it to work if the number changes. The style needs to be applied to the entire string.

    Thanks in advance for anyone who can shed some light :-)

Viewing 3 posts - 1 through 3 (of 3 total)