Skip to content

Commit

Permalink
Merge pull request #54 from michaelmior/patch-1
Browse files Browse the repository at this point in the history
Fix grammar in regex section
  • Loading branch information
JeelRajodiya authored Aug 15, 2024
2 parents afde2d7 + d1383ea commit adccfa2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ Now, try to modify the `postalCode`, `phoneNumber` and `countryCode` fields in t
**Constraints:**
- The `postalCode` should be a string with a length of **exactly 6** characters and should **contain only digits.**
- The `phoneNumber` should be a string with a **minimum length of 10** characters and should **contain only digits**.
- The `countryCode` should be a string with a **length of exactly 2** characters and should **contain only uppercase alphabets**.
- The `countryCode` should be a string with a **length of exactly 2** characters and should **contain only uppercase letters**.

> **Hint:** to only allow uppercase alphabets, you can use the regular expression `[A-Z]` in your regex pattern.
> **Hint:** to only allow uppercase letters, you can use the regular expression `[A-Z]` in your regex pattern.

0 comments on commit adccfa2

Please sign in to comment.