regex explanationWed, 15 Feb 2023

/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;

The above regex is used to check any valid email address.

Want to kickstart your project?Use the new AI Studio to create your code