Hello,
I worked on WPF .
I want to create one class file for regex validation for Moblie No is 10 digit &Only numeric, pincode is only 6 digit no,pancard no which is accept only alphabetic &numeric of 10 digit no ,address,telephone no and so on.
How I will Implement it.
please give me some sample code of How it is used

Suresh MRank #171 · 14K reputationPosted Feb 17, 2016, 12:54 AM EST
Regex pattern = new Regex(@"(?); if(pattern.isMatch(socialSecNumber)) { //Do something return true; } else { return false; }Priya M36 reputationPosted Feb 17, 2016, 1:01 AM EST
Suresh MRank #171 · 14K reputationPosted Feb 17, 2016, 1:04 AM EST