Intersting!
Is it a regular expression validator for a field on a ascx or aspx or is it in the codebehind? I am at a disadvantage here at work because we are not doing .NET and I have no real ide to drop in the rev. This is what I wrote to test rexex's. Without telling the regex that it's the end of the string with the $ it will allow 123456789 to be true.
I miss writing cgi scripts using PERL. Have to make a living!
Marty
using System;
using System.Text.RegularExpressions;
namespace regextest8 // Defining Namespace
{
class MainClass // Defining Class
{
public static void Main(string[] args) // Program Entry Point
{
string _input;
Console.Write("Enter string: "

;
_input = Console.ReadLine();
while (!(_input.Equals("end"

))
{
MainClass.mymatch(_input);
Console.Write("Enter string: "

;
_input = Console.ReadLine();
}
}
public static void mymatch(string _input)
{
Match MyRegMatch = Regex.Match(_input,"^\\d{8}$"

;
if(MyRegMatch.Success)
{
Console.WriteLine("good string"

;
}
else
{
Console.WriteLine("bad string"

;
}
}//end match
}
}