Grep syntax to find positive numbers and indent the number to the left
- This topic has 5 replies, 4 voices, and was last updated 9 years, 2 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / General InDesign Topics / 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
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
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?
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
Can you give an example of your text in the items you want to change?
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
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.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!