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 Find/Change problem

Return to Member Forum

  • Author
    Posts
    • #62518

      I am currently working on a book in ID CS4, Windows XP whose earlier edition had 14 chapters. Now in the coming edition, I have to insert a new chapter after Chapter 9. The problem is that there are a lot of tables & images in the following chapters & they are labelled with the Chapter numbers as Fig 10.1, 10.2 etc. Also there are a number of formulas containing the digit 10. If I insert a new chapter, the chapter numbering & numbers of the tables , figures would have to change. Since the numbers are given manually & do not follow the numbered lists, I would have to manually find/change the numbers in all the following chapters. However, due to the presence of the digit in the formulas, I would have to do the find/change individually & not “Change All”.

      Is there a Grep method which would change only the table & figure numbers & not the digits within the formulas.The format of the Table & Fig numbers are as:

      Table 10.1

      Fig 10.1

      etc.

    • #62519

      (Fig|Table) 10(?=.d)

      — replace with

      $0 11

    • #62520

      Gah — bit of laryngitis messing with my brain. Of course that should be: replace with

      $1 11

      because '$0' would insert the entire found string,,including the “10”.

    • #62531

      Thanks a lot, Jongware. Sorry, was a bit late with the reply, but was a bit under the weather myself.

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