Find All Lines That DO NOT Contain [This] • InDesign GREP

Поділитися
Вставка

КОМЕНТАРІ • 5

  • @Rocadamis
    @Rocadamis 4 місяці тому

    Another great video Kayla! I love GREP stuff and do a bit of it myself. Here's a little extra help with this particular issue. Do a GREP that puts the search parameters into parentheses so they can be replaced in the Change to: field. Here's the code I tested:
    Find what: (^\w+)([^,]+?)$ -This looks for any line that is missing a comma like your code.
    Change to: $1,$2 - then this adds a comma in the missing space
    If searching for the missing period after the middle initial you don't need the parentheses:
    Find what: ^\w+[^.]+?$
    Change to: $0.
    Of course, this solution will have problems with last names that are two words, like "de Lamour" or "Von Rickenbacher", etc. However, these might be searched for in a separate Find command.

    • @beckysgraphicdesign
      @beckysgraphicdesign  4 місяці тому +1

      Oh, nice! Thanks for the expertise and the additional feature!

  • @DesignDesigns
    @DesignDesigns 4 місяці тому

    Thank you......