Regular Expressions 101

first initial, last name - podio

Open Workspace
  • PCRE (Legacy)
  • Substitution
0

Regular Expression

/
^([A-Z][a-z-]+),? +([A-Z])[^\n]*
/
gim

Description

looks at the full name and grab the first word (last name) and the first letter of the next word (first name initial)

Submitted by Anonymous