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

Find/Change every second tab

Return to Member Forum

  • Author
    Posts
    • #55582
      GregB
      Member

      This might be an easy one, but how do I Find/Change every 2nd tab to a return in text. Thanks

    • #55583
      GregB
      Member

      I forgot to add that there is other text between the 2 tab characters

    • #55584
      Eelco
      Participant

      With GREP?

      FIND: (t)(t)

      CHANGE: $1 r

      Edit: forgot to add a double slash.

    • #55586
      Anonymous
      Inactive

      Do you mean text like

      This is sample <tab> text this is sample <tab> text This is sample <tab> text this is sample <tab> text This is sample <tab> text this is sample <tab> text

      ?

      Something like this work for you?

      (?<= t)(.+?)t

      $1r

      Can you give an example of the text that you're trying to change?

    • #55587
      GregB
      Member

      Here is an example of before and after

      Raw text file

      AAA Socks<tab>820<tab>Eighth Ave
      ABC Local Radio<tab> S78<tab> South Street

      Finished text

      AAA Socks
      820 Eighth Ave
      ABC Local Radio
      S78 South Street

      Will give the replys a try

    • #55588
      Anonymous
      Inactive

      Yeh I think the one I posted there should work for that.

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