Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^[a-zA-Z]+(?: [a-zA-Z]+)*$
/
gm

Description

예시 “Cafe Latte” (ㅇ) “Ca fe Latte” (ㅇ) “Cafe Latte” (X) “ Cafe Latte” (X) “ Cafe Latte ” (X) “ Cafe Latte ” (X)

Submitted by anonymous - 2 years ago