title: How to match regular expression with hex value?
body: <p>i have text file like this : <br></p>
  
  <pre><code>1:upx1:4D 00 68 6B 6A 68 6A:True
  2:upx2:68 6B ?? 68 6A 00 02:False
  3:upx3:FF 4D ?? 68 6B ?? 68:True
  </code></pre>
  
  <p>and i have string like this : <br></p>
  
  <pre><code>4D 5A 02 68 6B 6A
  </code></pre>
  
  <p>who match with line 3<br></p>
  
  <p>i used this code to check regular expression path:<br></p>
  
  <pre><code>string readdb(string hash)
  {
      using (StreamReader sr = new StreamReader("db.txt"))
      {
          string re = string.Format(@"(?&lt;row&gt;\w*:)(?&lt;title&gt;\w*:)({0}:)(?&lt;ep&gt;\w*)", hash);
  
          String line;
          while ((line = sr.ReadLine()) != null)
          {
              Regex regex = new Regex(re);
              Match match = regex.Match(line);
              if (match.Success)
              {
                  return match.Groups[3].Value.ToString();
              }
          }
          return "0";
  
      }
  
  }
  </code></pre>
  
  <p>but my problem with ?? sign in file !<br>
  how can match any hex value instead of double question mark ?</p>