I am trying to validate input type=\"text\" using a pattern. I want text only.
type=\"text\"
Component :
this.from = this.fb.group({ name: [\'\',[
Pass pattern as string, without / which are the delimiters for regex
/
Validators.pattern('^[a-zA-Z]+$')