public Boolean Datecheck(string str) { if (Regex.IsMatch(str, @"^(((((0[1-9])|(1\d)|(2[0-8]))\/((0[1-9])|(1[0-2])))|((31\/((0[13578])|(1[02])))|((29|30)\/((0[1,3-9])|(1[0-2])))))\/((20[0-9][0-9])|(19[0-9][0-9])))|((29\/02\/(19|20)(([02468][048])|([13579][26]))))$")) { return true; } else { return false; }
Thursday, July 18, 2019
Validate date using Regular Expression in C#
Subscribe to:
Post Comments (Atom)
Lab 09: Publish and subscribe to Event Grid events
Microsoft Azure user interface Given the dynamic nature of Microsoft cloud tools, you might experience Azure UI changes that occur after t...
-
Import/export of any file type is the basic need of any development environment whether web development, desktop development or applicatio...
-
PowerShell का उपयोग करके एक Azure डेटा फ़ैक्टरी कैसे बनाएँ? This quickstart describes how to use PowerShell to create an Azure data fact...
-
Jira epic is a large user story which is broken into smaller tasks (user stories) based on the customer or end-user needs. Based on the c...
No comments:
Post a Comment