Remove TAB From Text
- This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Remove TAB From Text
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Remove TAB From Text
Hi – back again!
I have another, what is probably a simple task, but I can’t figure it out :(
I need to remove the first TAB in a list:
eg: TEXT1 <TAB> TEXT2 <TAB> TEXT3 <TAB> TEXT4
And I want to get it to read as per the example:
eg: TEXT1 TEXT2 <TAB> TEXT3 <TAB> TEXT4
Thank you all again in advance :)
There are numerous ways to achieve that, but this is what I concocted on the fly:
Find What: (^.+?)(\t)
Change To: $1
Please note that this will delete the tab but not put in a space in its place. If you want to add a space use this in the Change To field:
$1\s
Thanks Ari :)
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!