Author Topic: How to replace a binary character with other characters  (Read 732 times)

tigray

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
How to replace a binary character with other characters
« on: July 25, 2017, 03:30:20 pm »

I must say I find Slickedit's Find and Replace dialog awkward/unintuitive, though I love the product overall  :) :)

I want to replace the TAB character (0x09) with three spaces everywhere it's found.
I tried this, on the command line (sans quotes), but no joy:
"c/\x09/   /*"

Similar attempts in the Replace dialog weren't successful. ANy tips or pointers would be very welcom.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2359
  • Hero Points: 131
Re: How to replace a binary character with other characters
« Reply #1 on: July 25, 2017, 03:36:09 pm »
I think besides the * option for replace all, you'll need an 'r' for SlickEdit regular expression, because you're using \x09.  This should work from the replace dialog too.

If you were to copy/paste in a tab character (admittedly a pain), then you wouldn't need the regular expression option.