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
  • 9,485
  • 18
  • 65
  • 113

0 Answers0