On Sat, Nov 7, 2009 at 12:55 PM, Hashmat <hashmat.em...@gmail.com> wrote:
> Hello,
> Suppose I have this hex input: "78FE8909CD" etc
> Can somebody please let me know what should be the RE to find a
> particular byte ?
> Say I want to find 8F from the above input ?
> RE should return false, because 8F is not found as a byte because the
> bytes would be:7F, FE, 89, etc
Thanks.
How do I find if a particular character is not present in a string ?
If I use [^0x1f] it would mean any character other than 1f. How do write a
RE which would mean if 1f is not present ? In other words if the patter 1f
is not matched.
On Sun, Nov 8, 2009 at 1:10 PM, inhahe <inh...@gmail.com> wrote:
> hmm, maybe this
> .{2]*?8F.*
> On Sat, Nov 7, 2009 at 12:55 PM, Hashmat <hashmat.em...@gmail.com> wrote:
>> Hello,
>> Suppose I have this hex input: "78FE8909CD" etc
>> Can somebody please let me know what should be the RE to find a
>> particular byte ?
>> Say I want to find 8F from the above input ?
>> RE should return false, because 8F is not found as a byte because the
>> bytes would be:7F, FE, 89, etc