JSFiddle - React, Tailwind, and code Playground

by João Vitor Scheuermann

JavaScript

let teste = /[^ ]{2,}@\w{2,}\.[^ ]{1,}/;
let string = "bobo lalaal asudhauhsd [email protected] ajbeasbhebahsbe"

console.log(teste.exec(string))