Regular Expressions 101

  • PCRE2 (PHP)
  • Substitution
0

Regular Expression

/
(\w)(\w+)
/
gm

Description

Capitalizes first letter of each word and make the rest lower case

Submitted by gabrielbergoc