fix: change replaceAll
usage introduced in #35566
#37473
Merged
replaceAll
usage introduced in #35566
#37473