Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
Created·2022-03-05 01:44
Flavor·PCRE2 (PHP)

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

Description

Select duplicate a.m. - p.m range

Submitted by profeivan