Regular Expressions 101

Community Patterns

Finding a string along with a few other words

2

Regular Expression
PCRE (PHP <7.3)

/
from:\s*([0-9\-\s:]+),\s*to:([0-9\-\s:]+),\s*downtime:\s*([0-9\shms]+)
/
gmi

Description

no description available

Submitted by A.K. Asik - 9 years ago