Here's a ridiculous question - is there any hex editor for linux that can perform a search and replace based on a regular expression?
I have an impossible-to-get-elsewhere mp3 file that has been 'corrupted' by Macromedia's streaming Flash protocol, so that every fourth frame of the mp3 has one extra byte in the middle of it, which totally wrecks the mp3.
I know what the byte is, but I need to be very specific when I strip it out so that I don't strip out identical legitimate bytes from the wrong location:
[frame header][79/80 bytes][corrupting byte][230 bytes]
[frame header][79/80 bytes][corrupting byte][230 bytes]
[frame header][79/80 bytes][corrupting byte][230 bytes] etc.
I confidently predict that the chance of an answer to this question is nil