Regular Expressions 101

Regex_questions_detect

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

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

Description

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

Submitted by Anonymous