0

I'm new to regex and not sure how each part of the below breaks down to testing for email, especially the ! at beginning and the ._%+0-

!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(values.email)
stackjlei
  • 8,765
  • 16
  • 51
  • 106

0 Answers0