Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(^(\d+)(\.\d+)(\.\d+))$
/

Description

Validation for version numbers like 33.3.33

Submitted by Gokul - 9 years ago