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


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 13, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250