ramza75
ramza75

Reputation: 75

Regex to capitalize first letter of every word

Hello everyone i have some texts that looks like this

Not all the texts are the same, i was just showing some examples, any help is appreciated

Upvotes: 1

Views: 6454

Answers (1)

Seblor
Seblor

Reputation: 7146

Regex to match & group first character :

^(.)

What to replace with :

\U\1

(the \1 means the first matching group.)

Upvotes: 6

Related Questions