Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

Semantec Versioning

1

Regular Expression
ECMAScript (JavaScript)

/
^(\d+)\.(\d+)\.(\d+)-?([a-zA-Z-\d\.]*)\+?([a-zA-Z-\d\.]*)$
/
gm

Description

Loading markdown...
Submitted by Flemming Steffensen - 3 years ago