Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-10-15 04:15
Flavor·PCRE2 (PHP)

/
(^|(?<=[\s,;:.!?])+)[A-Za-z]+($|(?=[\s,;:.!?]+))
/
gm
Open regex in editor

Description

Definition of the concept of "word" in accordance with the formulation of the problem.

Submitted by anonymous