none
Regular Expression pattern RRS feed

  • Question

  • Hi, 

    I need a regular expression for below pattern 

    123 of 326

    number value should not be more than 6 digit, i have tried below, but not working as excepted

    Regex regex = new Regex(@"^[0-9]{1,6}\s(of)\s^[0-9]{1,6}");

    Monday, January 21, 2013 10:51 AM

Answers