Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex detect negative numbers

^[-+]?[0-9]d*(.d+)?$
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #detect #negative #numbers
ADD COMMENT
Topic
Name
7+8 =