Java文字列replaceAll
replace

replaceAll文字列

toUpperCase

正規表現に一致するすべての部分を置換します。

構文

str.replaceAll(regex, replacement)