Grep syntax to find positive numbers and indent the number to the left

Learn / Forums / General InDesign Topics / Grep syntax to find positive numbers and indent the number to the left

Viewing 5 reply threads
  • Author
    Posts
    • #72787
      Iza Glei
      Member

      Hi All
      I am trying to find Grep syntax to find positive numbers in a table, and to indent the numbers in the cell to the left side (for example 0p4). Same thing with negative numbers (for example 0p3).

      I will appreciate any help
      Thanks

    • #72811
      Aaron Troia
      Participant

      Izaac, your examples are pica measurements, are you trying to find text with either positive or negative text indent? or are you trying to find literal positive and negative numbers in a tables?

    • #72813
      Iza Glei
      Member

      I am trying to find positive numbers that are align to the right, and shift(indent) them to the left. The same thing with negative numbers.

      Thanks

    • #72818
      Eugene Tyson
      Member

      Can you give an example of your text in the items you want to change?

    • #72823
      Iza Glei
      Member

      Here is the example
      I have the number 20,584 in a cell which in aligned to the right, I want to indent the number 20,584 to the left side (for example 0p4) which is less then the middle of the cell.

      Thanks for helping

    • #72905
      Masood Ahmad
      Participant

      I think you can achieve this by GREP Find/Change:

      Find what: [24680]$

      Change to: paragraph style of your choice with indent values

      Please check and let me know if it helps.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.
>