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

How to find any sentences

Return to Member Forum

  • Author
    Posts
    • #57972

      Is there any grep code to fine any sentences in the begining of paragraph which ended with question mark (?)?

    • #57975
      jpannier
      Member

      Try this:

      ^[ul |,:;)(-]+(?=?)

      This will look for the beginning of a paragraph (^) followed by any word character or ,;:()- (maybe I forgot some characters) followed by a ? (positive lookahead)

      But the ? will not be include within the marked sentences.

      Hope this will help.

      PS For this question there’s an extra forum dealing with scripts and GREP. There’re reading the really smart guys ;-)

    • #57986

      Yes, this is excatly what i am looking for, and I add period (.), so that grep code will include question mark (?). Thank's alot

      Can you tell me what forum?. thx

      PS For this question there’s an extra forum dealing with scripts and GREP. There’re reading the really smart guys

    • #57990
      jpannier
      Member

      sure. Here in indesignsecrets forum “InDesign Add-ons (Scripts, Scripting, and Plug-ins)” ;-).

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