String pattern matching
VS2005
string stringPattern = "^\\d{2}-\\d{1}-\\d{4}$";
i found this sample in the net while studying string pattern matching. i just want to know what ^ and $ means? and \d works for numbers.. what if im matching with characters?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Feb 1, 2007, 5:13 AM EST
Here is a resource that will help you out with regular expressions:
http://regexlib.com/Default.aspx