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

GREP Expression Needed

Return to Member Forum

  • Author
    Posts
    • #54674
      laurieann77
      Member

      I’ve scoured the websites and have been trying to figure out the correct GREP expression for what I’m trying to achieve, but to no avail, so alas I am posting this in hopes of ending my misery.

      I want to add an italic character style to the names of Naval ships (USS xxx xxx) in my book. I want to italicize the name, but not the ‘USS’. Any ideas?

      Thanks a million.
      ~Laurie

    • #54683
      kaypcohen
      Member

      Need more info. Are all naval ships one word? If not, how would you recognize if 2nd word is a regular word or part of the ship name. Do both have proper capitalization?

    • #54687
      laurieann77
      Member

      apologies, yes – ship names are 1 – 3 words (some have a middle initial – like ” USS Joe A. Schmo” so i guess it would have to be up to three capitalized words that directly follow the USS.

    • #54692
      Anonymous
      Inactive

      (?<=USSs)w+.+? w+

      That should do it

    • #54702

      Same post on Adobe Forum InDesign : https://forums.adobe.com/thread&#8230;..1?tstart=0

Viewing 4 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads