Skip to content

Commit

Permalink
Merge pull request #330 from nanometrenat/patch-1
Browse files Browse the repository at this point in the history
Update restrict_responses.md
  • Loading branch information
joshuaberetta committed Jan 31, 2024
2 parents 6b680bc + 277e107 commit 4820bdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/restrict_responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ guarantee that they are valid, only that they follow an expected pattern.</p>

| **Regex** | **Description** |
| :----------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------- |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z]{2,}$')` | Restrict an input with a valid email address e.g. `example.domin.com` |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z.]{2,}$')` or `regex(., '^([\W\d\D]+[@][\D]+[.][\D]{2,})+$')` | Restrict an input with a valid email address e.g. `example.domin.com.np` |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z.]{2,}$')` or `regex(., '^([\W\d\D]+[@][\D]+[.][\D]{2,})+$')` | Restrict an input with a valid email address e.g. `example.domain.com` or `example.domain.com.np` |

## Examples related to use of time inputs

Expand Down

0 comments on commit 4820bdd

Please sign in to comment.