Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?:\d+h)?(?:\d+m)?(?:\d+s)?
/
g

Description

SO Question

Submitted by PaperBirdMaster - 10 years ago