You are currently working on UAT 

Regex Back-reference conversion to UpperCase

Hi there,

I am trying to locate words that starts with an uppercase letter, then lower case, for example: 'Ip', 'Www', etc'.

Then I want to use back-reference in regex to change all letters to uppercase: "IP", "WWW", etc.

I read that you can use '\U' to do case conversion on back-reference, but it doesn't seem to work for me. Maybe, I am not doing it right.

Here is the regex:

([A-Z][a-z']+(?: [A-Z][a-z]+)*)

Maybe, this regex is better for my scenario though

([A-Z][a-z]+)

then I use back-reference:

\U$1

Any idea how I can do it?

What I am trying to do actually is to create a QA Checker step to find all uppercase words in source, that don't match in target. 

After that, I would like to replace all wrong occurrences in target with the upper-case version.

Maybe, there is a ready-to-use verification regex, but I couldn't seem to find one when I searched SDL community.

Thanks in advance for your support!