Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?s)(\d+)\.(.*?)(?:(?:\r*\n|\r* \n){2})
/
gsm

Description

if a file has questions and answers, it can detect questions

Submitted by anonymous - 4 years ago