Sublime Forum

How to search hex in Sublime

#1

Hi,

I’m trying to open a binary file in Sublime, find a hex string and replace with a different hex string.

Sublime opens the file with hex view, but they are aligned with 4 characters and a space so I’m unable to properly search a 6 character search string.

Eg., file is displayed as:
00e8 7e00 0000 0000 8ed5 4203 0010 0000
0030 2400 0000 4000 0010 0000 0002 0000

I’m trying to search “d54203” or “000030” which cannot be found due to spaces and new lines in the display pattern.

How can I search hex in Sublime by ignoring spaces and new lines?

0 Likes

#2

Hi, could someone help here?

0 Likes

#3

Sublime Text is a text editor, not a hex editor.
You can follow this link.
I found this by searching the messages.
The app has a search feature.
There is this plugin for ST, but I don’t know if it is what you want.

0 Likes