Remove all Lower Case Letters using C#

I came across a discussion where the OP wanted to use only the first letter of a word in a string. The first letter of each word was capitalized, so his requirement was to abbreviate the sentence by removing all lower case letters in a string.

For example: ‘We Love DevCurry.com’ would become ‘WLDC’

Here’s how this can be achieved with a Regular expression. Use the following code: