📜  javascript regex number - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:17.729000             🧑  作者: Mango
代码示例4
/^[\+\-]?\d*\.?\d+(?:[Ee][\+\-]?\d+)?$/
/*
matched values:
-2.14e10
+14E-20
42.69
*/