8 Replies Latest reply on Apr 13, 2012 12:40 PM by Manish-Sharma

    Grep style - add brackets around number

    wbset09 Level 1

      Hi there,


      I am wondering if there is a way to use GREP styles to apply brackets around a number. I am looking for it to be a grep style (within the paragraph style) and not a find and replace.

      This will be used in an automated table of contents where the page number will be in brackets. (Is this something I can specify in TOC settings?)


      Like such:



      Chapter One     [3]

      Chapter Two     [10]

      Chapter Three  [15]


      Again, it needs to be part of the paragraph style (or TOC settigns) so the brackets are automatically applied to numbers when the associated paragraph style is used.


      Hope someone can help me out!