I use this preg_match
conditions for对正值、负值和贬损数值进行对比
/^[0-9,-.]{1,50}$/
But when I enter --34.000 it does not show error, when I enter 34...9868 it does not show error, what I want is that it must accept only positive, negative and decimal values.