[Solved] JavaScript – Regular Expression that validates one +/- at begning and one decimal point [closed]
[ad_1] Basic regular expression /^[+-]\d+\.\d+$/ Explanation: ^ Match start of string [+-] Match either plus or minus \d+ Match one or more numbers of digits \. Match a period, the \ escapes it since it means any character \d+ Match one or more numbers of digits $ Match end of string 1 [ad_2] solved JavaScript … Read more