Lesson 8: Check Data Using the [RegularExpression] Annotation
In this lesson you learn to use the [RegularExpression] data annotation to perform pattern matching.
Content
Lesson Objectives 00:00
The [RegularExpression] Attribute 01:06
Where to Find Regular Expressions 00:35
DEMO: Add a User Class 01:06
DEMO: Use [RegularExpression] Attribute to Check for a Valid Email 01:45
DEMO: Use [RegularExpression] Attribute to Check for a Valid Phone Number 03:36
Lesson Summary 04:33
Useful Links
Samples and hands-on labs for this course: https://www.pdsa.com/YouTube
The [RegularExpression] Attribute: https://learn.microsoft.com/en-us/dot...
Regular Expression Samples: www.regexlib.com
Tutorial on Regular Expressions:
https://www.regular-expressions.info/...
https://learn.microsoft.com/en-us/dot...
#dataannotation #validation #csharp #development #programming #dotnet #dotnetcore #dotnet6 #dotnet #dotnet8 #pauldsheriff #pluralsight #youtube
Paul.About()
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.
Paul.Contact()
Website: https://www.pdsa.com
Email: [email protected]
LinkedIn: / paulsheriff
Blog: https://blogs.pdsa.com/
Pluralsight: https://app.pluralsight.com/profile/a...
YouTube Channel: @pauldsheriff