regex explanationFri, 17 Feb 2023

/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/

The regex matches email addresses. Note that the dot "." is not interpreted in a special way.

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