Test, validate and match regular expressions
This regex matches words that begin with an uppercase letter, capturing just the initial capital letter in group 1. With the global flag, it finds all such words throughout the input text. This pattern is useful for extracting proper nouns, names, capitalized terms, or detecting sentence beginnings in text processing applications.