Regular Expressions 101

Validate Semantic version numbering

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
^([0-9]{1,2})+[.]+([0-9]{1,2})+[.]+([0-9]{1,2})
/

Description

This validates version numbers that adhear to the Semantic protocol e.g. in form of xx.xx.xx or 1.2.2

Submitted by Al