Thema: Delphi Reg Expr

Einzelnen Beitrag anzeigen

mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#1

Reg Expr

  Alt 19. Sep 2008, 21:59
Hi every body :

I want to search for a Hex Value using a RegExpr.

Let me suppose i have : MyFile.exe that contains the following hex Value :
( 79797979797979795383EC44B823104000B9000000008A1880
C310881883C00183C10181F937D1000075EBA8F0F031F0A9
F0F0F0F07A0870B39E780873B1F173B0F171E9EF17F0F065
DBA8F00030F0ABB3B3B3B37908A8C5CA30F073B0F073B434
EFC0B34BB3D8F5F0F0F0D9FAF0F0F0A9C81731F0D95BA5 )


and in an other text file i store all my match patterns .
ok then let me suppose this match pattern ( stored in this text file ): 5383EC44B823104000B9000000008A1880????A8 this means search for all Hex Values from 53 to A8

that gives me the Result :

5383EC44B823104000B9000000008A1880
C310881883C00183C10181F937D1000075EBA8F0F031F0A9
F0F0F0F07A0870B39E780873B1F173B0F171E9EF17F0F065
DBA8F00030F0ABB3B3B3B37908A8


Is there any way to do it .

Thank you All
  Mit Zitat antworten Zitat