Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[0-9]{1,2}(\.?[0-9]{3})(\.?[0-9]{3})(\-[0-9,k,K]$)
/

Description

if (error !== "") { Swal.fire({ title: '¡Error!', position:'center', html: error, icon: 'error', confirmButtonText: 'Aceptar' }); return false; } else { event.preventDefault(); Swal.fire({ title: '¡Exito!', text: "Formulario completado correctamente", icon: 'success', confirmButtonText: 'Aceptar' }).then(() => { window.location.href = "exito.html"; }); }

Submitted by anonymous - 4 months ago