Regular Expressions 101

Community Patterns

Find all letters and numbers and - in each line after the first - is encountered. Semantic Versioning 2.0.0 find everything after patch version

0

Regular Expression
PCRE (PHP <7.3)

/
(?<=-)([a-zA-Z0-9-]+)
/
g

Description

no description available

Submitted by anonymous - 4 years ago