Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?<=\\W|^)(?:within|in)\s*([1-9][0-9]{0,5})\s*(m?|min?|mins?|minutes?|h?|hours?|d?|days?)(?=\W|$)
/

Description

no description available

Submitted by anonymous - 8 years ago