Reg Exp to convert lower to upper

I think I’m going crazy. Trying to convert text found in a RegExp search to upper case. I thought \U$1 would work but the “\U” is taken as literal two characters.

Aany suggests?

–Greg

so perl-ish, wondering wherever else it would work :slight_smile:
see perlop - Perl expressions: operators, precedence, string literals - Perldoc Browser
image

1 Like

Thanks fpy. That would work.

However, I’m really looking to change the case strictly in RegExp. I can’t believe it but it looks like LO doesn’t offer conversion is in replacement strings.

Thanks again,

–Greg

No, there is no case change in replacement strings. Believe it.
AltSearch extension does it, though.

Thanks for confirming that, mikekaganski.