Tag Archives: IDEA globally replace yml Error

[Solved] IDEA globally replace yml Error: you have entered malformed replacement

Problem Description: because the YML configuration file needs to be replaced uniformly in the microservice project, but the replacement string contains’ $’, the editor reports an illegal format error.

Solution:

Just transfer the ‘$’ symbol and add the escape character ‘\’ in front of it: http://nacos-headless \.\${info.namespace}\.svc\.cluster\.local:8848