1
Reply

string pattern matching

waffle

waffle

Feb 1 2007 9:38 AM
2.4k
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?

Answers (1)