App.dialog.prompt email

Hi … I would like to know if by any chance there is a way for an app.dialog.prompt () … to validate that it has the format of email swin to be an input.

My code is:

app.dialog.prompt('Ingrese un E-mail:','Enviar Excel', function (name) {
    app.dialog.confirm('Es correcto el correo?<br> ' + name, function () {
      app.dialog.alert('Enviando a: ' + name );
      app.request.get('', { name: name, fecha:fecha, temp:temp}, function (data) {


Not by default means, but you can: