mTrack = new Regex(@"^%B\d{8,19}\^.{1,26}\^\d{2}(01|02|03|04|05|06|07|08|09|10|11|12)\d{3}((.{9,57})+|\^)\?", RegexOptions.None);
between the two ^ it says minimum 1 , Maximum 26
This I imagine could any alpha numeric value.
How can I ensure that this 1,26 byes do not appear in lowercase.
Meaning aBCD-3/5 RFG is not allowed
but ABCD-3/5 RFG is
mind you only inserting [A-Z] does not allow for - & / to be valid , and that is not what I want
Cheers
Last edited by Saeed; May 4th, 2010 at 07:28 AM.
Reason: incomplete
Google Regular Expression Set's (A set can be defined inside of an open and closed bracket)
I have attached a small application that I wrote when I was learning regular expressions, the zip file also contains a set example that you can check out.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.