preg_match numbers negative and positive
Sección: Programación
Creado: 04-11-19 (Actualizado: 08-02-20)
I need to fix this preg_match("/^[[0-9]{0,4}$/i", $input), it also need accept negative values. Thanks
https://stackoverflow.com/questions/5011425/preg-match-numbers-negative-and-positive/5011498#5011498