regex to replace to uppercase

How do I use Regex to replace a text to its uppercase,
when I set the "replace with" to \U\$1\E it prompts Illegal/Unsupported escape sequence. Is there any workaround?

Please sign in to leave a comment.