Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?<code1>class="relativetime">)(?<code2>.+)(?<code3><\/span>)
/
g

Description

StackExchangeScraper3

Submitted by anonymous - 7 years ago