Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

number pattern js

/^[+-]?d*.?d+(?:[Ee][+-]?d+)?$/

/* 
	matched values:
    -2.14e10
    +14E-20
    42.69
*/
 
PREVIOUS NEXT
Tagged: #number #pattern #js
ADD COMMENT
Topic
Name
6+1 =