edit validation.md: remove stray comma (#31643)

* edit validation.md: remove stray comma

* edit validation.md

make same change here as for `aspnetcore/tutorials/razor-pages/validation.md`

* Update validation.md

* Update validation.md

---------

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
pull/31648/head
Andrew Zipperer 2024-02-01 12:21:30 -06:00 committed by GitHub
parent ee9840d7c1
commit d22162917f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,7 @@ The validation attributes specify behavior that you want to enforce on the model
* The `RegularExpression` attribute is used to limit what characters can be input. In the preceding code, "Genre":
* Must only use letters.
* The first letter is required to be uppercase. White spaces are allowed while numbers, and special
characters are not allowed.
* The first letter must be uppercase. White spaces are allowed, while numbers and special characters aren't allowed.
* The `RegularExpression` "Rating":

View File

@ -46,8 +46,7 @@ The validation attributes specify behavior to enforce on the model properties th
* The `[RegularExpression]` attribute is used to limit what characters can be input. In the preceding code, `Genre`:
* Must only use letters.
* The first letter is required to be uppercase. White spaces are allowed while numbers, and special
characters are not allowed.
* The first letter must be uppercase. White spaces are allowed, while numbers and special characters aren't allowed.
* The `RegularExpression` `Rating`: