Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-07-29 08:35
Flavor·PCRE2 (PHP)

/
^(([0-9]|10)|([0-9][.,][0]?[1-9][1-9]?))$
/
gm
Open regex in editor

Description

điểm từ 0-10 nhập được 1 và 2 chữ số thập phân

Submitted by anonymous