Regular Expressions 101

PNRPU STUDY PROJECT CS, lab work 6

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

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

Description

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

Submitted by Anonymous