Articles → MICROSOFT BOT FRAMEWORK → Apply Validation On User Input On Bot Framework
Apply Validation On User Input On Bot Framework
Pattern Attribute
Example
[Pattern("^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$")]
public string email;
Output
Click to Enlarge