How to remove spaces from string only if it occurs once between two words but not if it occurs thrice?

NoSuchKey

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=164094&siteId=1