Regular Expressions 101

Library entries

大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数

Vote

0

Regular Expression
javascript

/
^150$|^(?:\d|[1-9]\d|1[0-4]\d)(?:.5)?$
/

Description

Loading markdown...
Submitted by anonymous - 2 years ago