Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-13 07:32
Flavor·PCRE (Legacy)

/
[^\s.](?:[^?.]|\.(?! ))*\?
/
gm
Open regex in editor

Description

Finds and selects a question from the beginning of the question (after the last sentence/phrase/page break/etc to the question mark (?)

Submitted by anonymous