Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^ *[^\s]+( +[^\s]+)*$
/
gm

Description

Regex for parsing IIC++ script.

Submitted by Vu Tung Lam - a year ago