Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE2 (PHP >=7.3)

/
([ap]\.m\.)\h(?=\h\d+(:\d\d)?\h\1)
/
gm

Description

Select duplicate a.m. - p.m range

Submitted by profeivan - 3 years ago