it works with:/^([A-Z][a-z]+)([A-Z]+)?([A-Z][a-z]+)?$/ # stored in $1, $2, $3
FooBBBBar FooBar Foo
In reply to Re^2: Extract firstname and lastname from variable
by llancet
in thread Extract firstname and lastname from variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |