RangersIslandersDevils
KingDucks
Sharks
Blackhawks
Red Wings
How do I extract the following using regex?
Rangers
Islanders
Devils
Kings
Ducks
Sharks
Blackhawks
Red Wings
Basically those with spacing remains the same.
Patterns that I have tried that don't work:
[A-Z][a-z]+[^\s]
[A-Z][a-z]+[^\s]$
[A-Z][a-z]+[\s][A-Z][a-z]+|[A-Z][a-z]+
THANKS ALL I GOT IT!