regex - comparing some pattern with regular expression C# -


I am parsing the binary file. The file size can be bigger I want to find some pattern in that file string

Any number 0 obj & lt; & Lt; Any alpha, symbol, number ... nothing >> endobj

The bold text indicates the mandatory string. So, my question is - should I do this with regular expression or it should be searched by coding. After that, if I want to store it in a dictionary, what will happen if there is a regular expression? What is the fastest way? I am using VS-2005.

  \ d + 0 obj \ & lt; \ & Lt; . * \ & Gt; \ & Gt; Endobase  

 \ d - decimal digits + - 1 or more \ & lt; - & lt; Should be considered in a verbal form - any character * - 0 or more> -> should be considered in verbal form 


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -