Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
([0-9]+\.?\d*e.\d+)|([0-9]+\.?\d*)|(\.\d+)
/
gm

Description

整数+小数+科学计数法的匹配 匹配顺序是从左到右依次 科学计数法------小数/整数----简写型小数

Submitted by sikara - 2 years ago