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
  • 7,747
  • 12
  • 42
  • 95

0 Answers0